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(-) -- 2.9.0