diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2016-08-03 12:41:40 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-08-08 11:58:43 +0200 |
commit | 0d35d0815b19216f852f257afe420f7c7d182780 (patch) | |
tree | 99bffa0fa77acfd0a8215617897350a233f7f3a8 /net/qrtr | |
parent | netfilter: nft_rbtree: ignore inactive matching element with no descendants (diff) | |
download | linux-0d35d0815b19216f852f257afe420f7c7d182780.tar.xz linux-0d35d0815b19216f852f257afe420f7c7d182780.zip |
netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq
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.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions