mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ipv6: fix possible mem leaks in ipv6_make_skb()
[ Upstream commit862c03ee1d] ip6_setup_cork() might return an error, while memory allocations have been done and must be rolled back. Fixes:6422398c2a("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
705813e942
commit
d3ccc74c89
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue