Skip to content
Snippets Groups Projects
Commit 8f01cb08 authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: xfrm: Eliminate ->rt_src reference in policy code.


Rearrange xfrm4_dst_lookup() so that it works by calling a helper
function __xfrm_dst_lookup() that takes an explicit flow key storage
area as an argument.

Use this new helper in xfrm4_get_saddr() so we can fetch the selected
source address from the flow instead of from rt->rt_src

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5fc3590c
No related branches found
No related tags found
No related merge requests found
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