diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2016-07-29 15:37:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-30 21:11:08 -0700 |
commit | c78ebe1df01f4ef3fb07be1359bc34df6708d99c (patch) | |
tree | be33ee0b1d42e22cb638a1941abf6f2c8d2c694e /drivers/net/fjes | |
parent | 122e9b71273f9d99ed90d51709674bc69c175fa0 (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/fjes')
0 files changed, 0 insertions, 0 deletions