Re: [PATCH v2] netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq

From: Pablo Neira Ayuso
Date: Mon Aug 08 2016 - 07:11:04 EST


On Wed, Aug 03, 2016 at 12:41:40PM +0200, Christophe Leroy wrote:
> Do not drop packet when CSeq is 0 as 0 is also a valid value for CSeq.
>
> simple_strtoul() will return 0 either when all digits are 0
> or if there are no digits at all. Therefore when simple_strtoul()
> returns 0 we check if first character is digit 0 or not.

Applied, thanks.