]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
macsec: fix SA leak if initialization fails
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 22 Apr 2016 09:28:07 +0000 (11:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2016 18:31:58 +0000 (14:31 -0400)
commit38787fc209580f9b5918e93e71da7c960dbb5d8d
tree8ecadb5f7f15a29c8cbbc4c74197c922a3bbf379
parent960d5848dbf1245cc3a310109897937207411c0c
macsec: fix SA leak if initialization fails

Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
Reported-by: Lance Richardson <lrichard@redhat.com>
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>
drivers/net/macsec.c