summaryrefslogtreecommitdiff
path: root/drivers/net/sb1000.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-07-29 15:37:53 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-30 21:11:08 -0700
commitc78ebe1df01f4ef3fb07be1359bc34df6708d99c (patch)
treebe33ee0b1d42e22cb638a1941abf6f2c8d2c694e /drivers/net/sb1000.c
parent122e9b71273f9d99ed90d51709674bc69c175fa0 (diff)
macsec: fix reference counting on RXSC in macsec_handle_frame
Currently, we lookup the RXSC without taking a reference on it. The RXSA holds a reference on the RXSC, but the SA and SC could still both disappear before we take a reference on the SA. Take a reference on the RXSC in macsec_handle_frame. Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sb1000.c')
0 files changed, 0 insertions, 0 deletions