diff options
author | Sabrina Dubroca <[email protected]> | 2016-04-22 11:28:06 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-04-24 14:31:58 -0400 |
commit | 960d5848dbf1245cc3a310109897937207411c0c (patch) | |
tree | f9a3cbd70f51112658544422e2783ab928dd112a /net/lapb/lapb_subr.c | |
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 <[email protected]>
Acked-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions