Re: [PATCH net] ipv6: fix possible mem leaks in ipv6_make_skb()

2018-01-10 Thread David Miller
From: Eric Dumazet Date: Wed, 10 Jan 2018 03:45:49 -0800 > From: Eric Dumazet > > ip6_setup_cork() might return an error, while memory allocations have > been done and must be rolled back. > > Fixes: 6422398c2ab0 ("ipv6: introduce ipv6_make_skb") > Signed-off-by: Eric Dumazet > Cc: Vlad Yasev

Re: [PATCH net] ipv6: fix possible mem leaks in ipv6_make_skb()

2018-01-10 Thread Mike Maloney
Acked-by: Mike Maloney Thanks Eric! On Wed, Jan 10, 2018 at 6:45 AM, Eric Dumazet wrote: > From: Eric Dumazet > > ip6_setup_cork() might return an error, while memory allocations have > been done and must be rolled back. > > Fixes: 6422398c2ab0 ("ipv6: introduce ipv6_make_skb") > Signed-off-b

[PATCH net] ipv6: fix possible mem leaks in ipv6_make_skb()

2018-01-10 Thread Eric Dumazet
From: Eric Dumazet ip6_setup_cork() might return an error, while memory allocations have been done and must be rolled back. Fixes: 6422398c2ab0 ("ipv6: introduce ipv6_make_skb") Signed-off-by: Eric Dumazet Cc: Vlad Yasevich Reported-by: Mike Maloney ---  net/ipv6/ip6_output.c |5 +++--  1