diff options
| author | Eric Dumazet <[email protected]> | 2018-01-12 06:31:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-01-15 19:19:32 +0000 |
| commit | 95ef498d977bf44ac094778fd448b98af158a3e6 (patch) | |
| tree | c2394f0f4eaf0874bec36d0b485fdf9badeefaa1 /net/tls/tls_main.c | |
| parent | sctp: avoid compiler warning on implicit fallthru (diff) | |
| download | kernel-95ef498d977bf44ac094778fd448b98af158a3e6.tar.gz kernel-95ef498d977bf44ac094778fd448b98af158a3e6.zip | |
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 <[email protected]>
Reported-by: syzbot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
