From: Wei Yongjun Date: Thu, 2 Jul 2009 16:57:23 +0000 (+0000) Subject: xfrm4: fix the ports decode of sctp protocol X-Git-Tag: v2.6.31-rc3~70^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c615c9f3f3cea60279b1bb38e8ef27bd575ecd0c;p=pandora-kernel.git 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 Acked-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed