diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2016-04-22 11:28:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-24 14:31:58 -0400 |
commit | 960d5848dbf1245cc3a310109897937207411c0c (patch) | |
tree | f9a3cbd70f51112658544422e2783ab928dd112a /drivers/pps | |
parent | 96cfc5052c5d434563873caa7707b32b9e389b16 (diff) |
macsec: fix memory leaks around rx_handler (un)registration
We leak a struct macsec_rxh_data when we unregister the rx_handler in
macsec_dellink.
We also leak a struct macsec_rxh_data in register_macsec_dev if we fail
to register the rx_handler.
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>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions