ipv4: xfrm: Eliminate ->rt_src reference in policy code.
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 22:13:28 +0000 (15:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2011 20:32:48 +0000 (13:32 -0700)
commit8f01cb0827c84bd9c4866b849415b3aa6f0428df
treeb98ccf5aeb28e93d564513f441a81dc062fb44c5
parent5fc3590c81bd233c25fbe127cdcf7a8e26e12378
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: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_policy.c
This page took 0.027396 seconds and 5 git commands to generate.