diff options
| author | Jinliang Zheng <alexjlzheng@tencent.com> | 2026-05-11 18:31:00 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-14 05:03:05 +0300 |
| commit | 552cc2306c3d87632f44a655737d1d367c2a3295 (patch) | |
| tree | 873d43259e428b340f6dd02e6538323674bae4c2 /tools/lib/python/kdoc/kdoc_parser.py | |
| parent | 6624bba469a325ecd699feae400b77cd11c76b98 (diff) | |
| download | linux-552cc2306c3d87632f44a655737d1d367c2a3295.tar.xz | |
macsec: use rcu_work to defer TX SA crypto cleanup out of softirq
free_txsa() is an RCU callback running in softirq context, but calls
crypto_free_aead() which can invoke vunmap() internally on hardware
crypto drivers (e.g. hisi_sec2), triggering a kernel crash.
Use rcu_work to defer the cleanup to a workqueue, for the same reasons
as the analogous fix to free_rxsa() in the previous patch.
Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20260511153102.2640368-4-alexjlzheng@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
