macsec: fix memory leaks when skb_to_sgvec fails
Fixes: cda7ea69 ("macsec: check return value of skb_to_sgvec always") Signed-off-by: NSabrina Dubroca <sd@queasysnail.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录