macsec: reference counting fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | macsec: fix reference counting on RXSC in macsec_handle_framedrivers/ | +8 | 0 replies | |
| 2/3 | macsec: RXSAs don't need to hold a reference on RXSCsdrivers/ | +1 | 0 replies | |
| 3/3 | macsec: fix negative refcnt on parent linkdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/3] macsec: reference counting fixes
Patch 1 adds explicit reference counting on RXSCs, instead of the current implicit reference counting using the RXSA's refcount.
Patch 2 fixes possible kernel panics during module unload caused by an RCU callback that schedules another RCU callback, which the rcu_barrier() added in b196c22af5c3 ("macsec: add rcu_barrier() on module exit") didn't protect against.
Patch 3 fixes a refcounting issue with the underlying device for a macsec device when link creation fails.
Sabrina Dubroca (3):
macsec: fix reference counting on RXSC in macsec_handle_frame
macsec: RXSAs don't need to hold a reference on RXSCs
macsec: fix negative refcnt on parent link
drivers/net/macsec.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)
Signature · 1 line
2.9.0