diff options
author | Yinjun Zhang <[email protected]> | 2023-02-08 11:22:58 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-02-09 22:28:06 -0800 |
commit | 71f814cda659dca3db575ed67dfcdc4b93e8d33f (patch) | |
tree | 27d981d4b9f1f17a76f2fa149119cbebf4721105 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 7a13a2eef645f2d2e3018d6ea518f121b35a87c8 (diff) |
nfp: fix schedule in atomic context when offloading sa
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 asynchronously
can utilize it.
Fixes: 859a497fe80c ("nfp: implement xfrm callbacks and expose ipsec offload feature to upper layer")
Signed-off-by: Yinjun Zhang <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions