Skip to content
Commit 07096f61 authored by David Howells's avatar David Howells
Browse files

rxrpc: Fix checking of error from ip6_route_output()



ip6_route_output() doesn't return a negative error when it fails, rather
the ->error field of the returned dst_entry struct needs to be checked.

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 75b54cb5 ("rxrpc: Add IPv6 support")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 54fde423
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment