ipv6: fix possible mem leaks in ipv6_make_skb()
ip6_setup_cork() might return an error, while memory allocations have been done and must be rolled back. Fixes: 6422398c ("ipv6: introduce ipv6_make_skb") Signed-off-by:Eric Dumazet <edumazet@google.com> Cc: Vlad Yasevich <vyasevich@gmail.com> Reported-by:
Mike Maloney <maloney@google.com> Acked-by:
Mike Maloney <maloney@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
-
mentioned in commit f64568e4
-
mentioned in commit c8579e81
-
mentioned in commit 2cbcf434
-
mentioned in commit 14968326
-
mentioned in commit 2c65f74d
-
mentioned in commit 5b215488
-
mentioned in commit 9a8bf8ca
-
mentioned in commit cbf32807
-
mentioned in commit fac98a39
-
mentioned in commit f10cbedc
-
mentioned in commit f27af8c8
Please sign in to comment