]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: remove BUG_ON() after skb_header_pointer()
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 5 May 2021 20:30:49 +0000 (22:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 5 May 2021 21:45:48 +0000 (23:45 +0200)
commit369790d39b0816473696a63443632449de842011
tree84be795e49b224992fb1ccee0b4d679b364fb919
parent182d3b63c0dac6beb80a13a6128e167cd111c6a2
netfilter: remove BUG_ON() after skb_header_pointer()

Several conntrack helpers and the TCP tracker assume that
skb_header_pointer() never fails based on upfront header validation.
Even if this should not ever happen, BUG_ON() is a too drastic measure,
remove them.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_ftp.c
net/netfilter/nf_conntrack_h323_main.c
net/netfilter/nf_conntrack_irc.c
net/netfilter/nf_conntrack_pptp.c
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_sane.c