summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-14 06:36:51 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:53:41 +0100
commitf04e7e8d7f175c05bbde3ae748bf2541da53721d (patch)
tree0e9a61e66fa507fc389d3e85917eaeb614cc9525 /net/ipv4/xfrm4_policy.c
parent[IPSEC]: Make sure idev is consistent with dev in xfrm_dst (diff)
downloadlinux-f04e7e8d7f175c05bbde3ae748bf2541da53721d.tar.xz
linux-f04e7e8d7f175c05bbde3ae748bf2541da53721d.zip
[IPSEC]: Replace x->type->{local,remote}_addr with flags
The functions local_addr and remote_addr are more than what they're needed for. The same thing can be done easily with flags on the type object. This patch does that and simplifies the wrapper functions in xfrm6_policy accordingly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
0 files changed, 0 insertions, 0 deletions