diff options
author | John W. Linville <linville@tuxdriver.com> | 2006-05-26 16:06:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-05-26 16:06:58 -0400 |
commit | f587fb74b26a10354f1eb73e8d054cd15e5a2fe2 (patch) | |
tree | a453a270fc86ada85d808487c911387739ce2296 /net/xfrm/xfrm_input.c | |
parent | df8ccb9bf1ca360581a94c2245efb9fa613fbb29 (diff) | |
parent | 705af309505681f197f81618440954d10f120dc0 (diff) |
Merge branch 'from-linus' into upstream
Diffstat (limited to 'net/xfrm/xfrm_input.c')
-rw-r--r-- | net/xfrm/xfrm_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index b54971059f1..891a6090cc0 100644 --- a/net/xfrm/xfrm_input.c +++ b/net/xfrm/xfrm_input.c @@ -62,7 +62,7 @@ int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, u32 *spi, u32 *seq) case IPPROTO_COMP: if (!pskb_may_pull(skb, sizeof(struct ip_comp_hdr))) return -EINVAL; - *spi = ntohl(ntohs(*(u16*)(skb->h.raw + 2))); + *spi = htonl(ntohs(*(u16*)(skb->h.raw + 2))); *seq = 0; return 0; default: |