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)
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>

No differences found