summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:46:32 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:34 -0700
commit5f19343fb19613539355296b23cbc08d1336b52d (patch)
tree122996f66a4dde454dfdadc7ba25bbb8808ea13c /include/net/xfrm.h
parent8f83f23e6db8b9a9fe787d02f73489224668c4e2 (diff)
downloadop-kernel-dev-5f19343fb19613539355296b23cbc08d1336b52d.zip
op-kernel-dev-5f19343fb19613539355296b23cbc08d1336b52d.tar.gz
[XFRM]: addr_match() annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 17e98c4..b096e90 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -437,8 +437,8 @@ static inline void xfrm_state_hold(struct xfrm_state *x)
static __inline__ int addr_match(void *token1, void *token2, int prefixlen)
{
- __u32 *a1 = token1;
- __u32 *a2 = token2;
+ __be32 *a1 = token1;
+ __be32 *a2 = token2;
int pdw;
int pbi;
@@ -450,7 +450,7 @@ static __inline__ int addr_match(void *token1, void *token2, int prefixlen)
return 0;
if (pbi) {
- __u32 mask;
+ __be32 mask;
mask = htonl((0xffffffff) << (32 - pbi));
OpenPOWER on IntegriCloud