All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] macsec: reference counting fixes
@ 2016-07-29 13:37 Sabrina Dubroca
  2016-07-29 13:37 ` [PATCH net 1/3] macsec: fix reference counting on RXSC in macsec_handle_frame Sabrina Dubroca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sabrina Dubroca @ 2016-07-29 13:37 UTC (permalink / raw)
  To: netdev; +Cc: Hannes Frederic Sowa, Sabrina Dubroca

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-31  4:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 13:37 [PATCH net 0/3] macsec: reference counting fixes Sabrina Dubroca
2016-07-29 13:37 ` [PATCH net 1/3] macsec: fix reference counting on RXSC in macsec_handle_frame Sabrina Dubroca
2016-07-29 13:37 ` [PATCH net 2/3] macsec: RXSAs don't need to hold a reference on RXSCs Sabrina Dubroca
2016-07-29 13:37 ` [PATCH net 3/3] macsec: fix negative refcnt on parent link Sabrina Dubroca
2016-07-31  4:11 ` [PATCH net 0/3] macsec: reference counting fixes David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.