summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-07-02 16:59:49 +0000
committerDavid S. Miller <davem@davemloft.net>2009-07-03 19:10:10 -0700
commit59cae0092e4da753b5a2adb32933e0d1b223bcc5 (patch)
treeb2578c0452504d63de9aeaf5029daae5cefef165 /net/packet
parentc615c9f3f3cea60279b1bb38e8ef27bd575ecd0c (diff)
xfrm6: fix the proto and ports decode of sctp protocol
The SCTP pushed the skb above the sctp chunk header, so the check of pskb_may_pull(skb, nh + offset + 1 - skb->data) in _decode_session6() will never return 0 and the ports decode of sctp will always fail. (nh + offset + 1 - skb->data < 0) Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions