commit | 960d5848dbf1245cc3a310109897937207411c0c | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Fri Apr 22 11:28:06 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 24 14:31:58 2016 -0400 |
tree | f9a3cbd70f51112658544422e2783ab928dd112a | |
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>