commit | f04e7e8d7f175c05bbde3ae748bf2541da53721d | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Nov 13 21:36:51 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 14:53:41 2008 -0800 |
tree | 0e9a61e66fa507fc389d3e85917eaeb614cc9525 | |
parent | fff693888012806370c98c601fbaa141fb12dfca [diff] |
[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>