diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 18:46:11 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:02:33 -0700 |
commit | 8f83f23e6db8b9a9fe787d02f73489224668c4e2 (patch) | |
tree | 23348f11be718d24229ced9c49c0d2c82c759104 /net/ipv4/xfrm4_state.c | |
parent | f9d07e41f89e7305eb2c0475c170c51d21425581 (diff) | |
download | linux-8f83f23e6db8b9a9fe787d02f73489224668c4e2.tar.gz linux-8f83f23e6db8b9a9fe787d02f73489224668c4e2.tar.bz2 linux-8f83f23e6db8b9a9fe787d02f73489224668c4e2.zip |
[XFRM]: ports in struct xfrm_selector annotated
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_state.c')
-rw-r--r-- | net/ipv4/xfrm4_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_state.c b/net/ipv4/xfrm4_state.c index fe2034494d08..3cc3df0c6ece 100644 --- a/net/ipv4/xfrm4_state.c +++ b/net/ipv4/xfrm4_state.c @@ -29,9 +29,9 @@ __xfrm4_init_tempsel(struct xfrm_state *x, struct flowi *fl, x->sel.daddr.a4 = fl->fl4_dst; x->sel.saddr.a4 = fl->fl4_src; x->sel.dport = xfrm_flowi_dport(fl); - x->sel.dport_mask = ~0; + x->sel.dport_mask = htons(0xffff); x->sel.sport = xfrm_flowi_sport(fl); - x->sel.sport_mask = ~0; + x->sel.sport_mask = htons(0xffff); x->sel.prefixlen_d = 32; x->sel.prefixlen_s = 32; x->sel.proto = fl->proto; |