commit | 738faca34335cd1d5d87fa7c58703139c7fa15bd | [log] [tgz] |
---|---|---|
author | Boris Ostrovsky <boris.ostrovsky@amd.com> | Mon Apr 04 13:07:26 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 04 13:07:26 2011 -0700 |
tree | 983fc8212bc5828fe14541119783cff159508b58 | |
parent | a14b289d4614bb3b25d0455d68f72f3c7b4cc8e8 [diff] |
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 4910ac6c526d2868adcb5893e0c428473de862b5 ("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>