Skip to content
Commit 738faca3 authored by Boris Ostrovsky's avatar Boris Ostrovsky Committed by David S. Miller
Browse files

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 4910ac6c

 ("ipv4:
Don't ip_rt_put() an error pointer in RAW sockets.").

Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a14b289d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment