Eric Dumazet 95ef498d97 ipv6: ip6_make_skb() needs to clear cork.base.dst
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: 862c03ee1deb ("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>
2018-01-15 14:19:32 -05:00
..
2017-11-08 11:20:49 +09:00
2017-05-21 13:42:36 -04:00
2016-12-25 17:21:23 +01:00
2017-06-12 09:53:14 -04:00
2017-10-18 14:13:08 +01:00
2017-09-01 18:35:23 -07:00
2017-11-30 10:25:41 -05:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00