Merge branch 'nfp-fix-schedule-in-atomic-context-when-offloading-sa'
authorJakub Kicinski <kuba@kernel.org>
Fri, 10 Feb 2023 06:28:08 +0000 (22:28 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Feb 2023 06:28:09 +0000 (22:28 -0800)
commit6e16e67a6b27f009ac70b1c59d8bd5a4e2820baf
tree27d981d4b9f1f17a76f2fa149119cbebf4721105
parentd61615c366a489646a1bfe5b33455f916762d5f4
parent71f814cda659dca3db575ed67dfcdc4b93e8d33f
Merge branch 'nfp-fix-schedule-in-atomic-context-when-offloading-sa'

Simon Horman says:

====================
nfp: fix schedule in atomic context when offloading sa

Yinjun Zhang says:

IPsec offloading callbacks may be called in atomic context, sleep is
not allowed in the implementation. Now use workqueue mechanism to
avoid this issue.

Extend existing workqueue mechanism for multicast configuration only
to universal use, so that all configuring through mailbox asynchoronously
can utilize it.

Also fix another two incorrect use of mailbox in IPsec:
 1. Need lock for race condition when accessing mbox
 2. Offset of mbox access should depends on tlv caps
====================

Link: https://lore.kernel.org/r/20230208102258.29639-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>