diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-08 03:20:21 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:21:11 -0500 |
commit | 8c689a6eae2d83970e4f34753d513e96fb97a025 (patch) | |
tree | 50c67089a5a46dbde93fdcb6040227fb599d5110 /net/ipv6/xfrm6_policy.c | |
parent | d2ecd9ccd0694278a8c1fa179d1d058ee66e2297 (diff) |
[XFRM]: misc annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index d400f8fae129..2fba1f0739aa 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c | |||
@@ -278,7 +278,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl) | |||
278 | case IPPROTO_SCTP: | 278 | case IPPROTO_SCTP: |
279 | case IPPROTO_DCCP: | 279 | case IPPROTO_DCCP: |
280 | if (pskb_may_pull(skb, skb->nh.raw + offset + 4 - skb->data)) { | 280 | if (pskb_may_pull(skb, skb->nh.raw + offset + 4 - skb->data)) { |
281 | u16 *ports = (u16 *)exthdr; | 281 | __be16 *ports = (__be16 *)exthdr; |
282 | 282 | ||
283 | fl->fl_ip_sport = ports[0]; | 283 | fl->fl_ip_sport = ports[0]; |
284 | fl->fl_ip_dport = ports[1]; | 284 | fl->fl_ip_dport = ports[1]; |