commit | 95ef498d977bf44ac094778fd448b98af158a3e6 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Jan 11 22:31:18 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 15 14:19:32 2018 -0500 |
tree | c2394f0f4eaf0874bec36d0b485fdf9badeefaa1 | |
parent | 37f47bc90c7481e7959703ad1defc4fc9f5d85e3 [diff] |
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>