commit | 8f01cb0827c84bd9c4866b849415b3aa6f0428df | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon May 09 15:13:28 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 10 13:32:48 2011 -0700 |
tree | b98ccf5aeb28e93d564513f441a81dc062fb44c5 | |
parent | 5fc3590c81bd233c25fbe127cdcf7a8e26e12378 [diff] |
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>