Files
twx-linux/net/ipv6
Eric Dumazet f64568e420 ipv6: ip6_make_skb() needs to clear cork.base.dst
[ Upstream commit 95ef498d97 ]

In my last patch, I missed fact that cork.base.dst was not initialized
in ip6_make_skb() :

If ip6_setup_cork() returns an error, we might attempt a dst_release()
on some random pointer.

Fixes: 862c03ee1d ("ipv6: fix possible mem leaks in ipv6_make_skb()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-31 12:06:13 +01:00
..
…
…
…
…
…
…
2017-09-27 11:00:12 +02:00
…
…
…
…
…
2017-06-14 13:16:19 +02:00
…
2017-06-14 13:16:19 +02:00
2017-12-16 10:33:56 +01:00
…
…