aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2009-07-02 16:57:23 +0000
committerDavid S. Miller <[email protected]>2009-07-03 19:10:06 -0700
commitc615c9f3f3cea60279b1bb38e8ef27bd575ecd0c (patch)
tree2bf343e769106a87e3cda9801e3b8cb942d722c9 /lib/string_helpers.c
parent15da4b1612d608a47e095439b3dd1d77ffe20e0c (diff)
xfrm4: fix the ports decode of sctp protocol
The SCTP pushed the skb data above the sctp chunk header, so the check of pskb_may_pull(skb, xprth + 4 - skb->data) in _decode_session4() will never return 0 because xprth + 4 - skb->data < 0, the ports decode of sctp will always fail. 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