Re: [PATCH net] macsec: fix memory leaks when skb_to_sgvec fails

2017-10-11 Thread David Miller
From: Sabrina Dubroca Date: Tue, 10 Oct 2017 17:07:12 +0200 > Fixes: cda7ea690350 ("macsec: check return value of skb_to_sgvec always") > Signed-off-by: Sabrina Dubroca Applied and queued up for -stable.

[PATCH net] macsec: fix memory leaks when skb_to_sgvec fails

2017-10-10 Thread Sabrina Dubroca
Fixes: cda7ea690350 ("macsec: check return value of skb_to_sgvec always") Signed-off-by: Sabrina Dubroca --- drivers/net/macsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index 98e4deaa3a6a..5ab1b8849c30 100644 --- a/drivers/net/macsec.c ++