summaryrefslogtreecommitdiffstats
path: root/drivers/net/amd8111e.c
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-07-02 18:59:49 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-04 04:10:10 +0200
commit59cae0092e4da753b5a2adb32933e0d1b223bcc5 (patch)
treeb2578c0452504d63de9aeaf5029daae5cefef165 /drivers/net/amd8111e.c
parentxfrm4: fix the ports decode of sctp protocol (diff)
downloadlinux-59cae0092e4da753b5a2adb32933e0d1b223bcc5.tar.xz
linux-59cae0092e4da753b5a2adb32933e0d1b223bcc5.zip
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 'drivers/net/amd8111e.c')
0 files changed, 0 insertions, 0 deletions