commit | 497f358aa4c0d99b75ec204407389920d5e33ec5 | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Fri Apr 22 11:28:03 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 24 14:31:58 2016 -0400 |
tree | 735124d9ec42abdf4776cc7d638bbe839ac9ac6e | |
parent | c10c63ea739bce3b8a6ab85c7bb472d900c9b070 [diff] |
macsec: don't put a NULL rxsa The "deliver:" path of macsec_handle_frame can be called with rx_sa == NULL. Check rx_sa != NULL before calling macsec_rxsa_put(). Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>