[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090703.191106.222283756.davem@davemloft.net>
Date: Fri, 03 Jul 2009 19:11:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: yjwei@...fujitsu.com, netdev@...r.kernel.org,
vladislav.yasevich@...com
Subject: Re: [PATCH 2/2] xfrm6: fix the proto and ports decode of sctp
protocol
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri, 3 Jul 2009 11:49:17 +0800
> On Fri, Jul 03, 2009 at 10:59:49AM +0800, Wei Yongjun wrote:
>> 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@...fujitsu.com>
>
> Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists