]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Don't pass invalid dst_entry pointer to dst_release().
authorBoris Ostrovsky <boris.ostrovsky@amd.com>
Mon, 4 Apr 2011 20:07:26 +0000 (13:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Apr 2011 20:07:26 +0000 (13:07 -0700)
commit121596f217b730748173177f357f49f063d38b43
tree983fc8212bc5828fe14541119783cff159508b58
parent6a0fce177b1aebf66e4597a43697cacc039f32a3
ipv6: Don't pass invalid dst_entry pointer to dst_release().

Make sure dst_release() is not called with error pointer. This is
similar to commit b48250764d33b0ba1b062f5ca27260a1c8ac43bf ("ipv4:
Don't ip_rt_put() an error pointer in RAW sockets.").

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c