aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2009-07-02 16:59:49 +0000
committerDavid S. Miller <[email protected]>2009-07-03 19:10:10 -0700
commit59cae0092e4da753b5a2adb32933e0d1b223bcc5 (patch)
treeb2578c0452504d63de9aeaf5029daae5cefef165 /lib/string_helpers.c
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 <[email protected]> Acked-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions