summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_core.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso2012-03-23 00:02:07 +0100
committerPablo Neira Ayuso2012-03-23 00:52:08 +0100
commiteeb4cb952386aac764a5cf4cf2490e50a24a8880 (patch)
tree6f22434bb52107e257493393c5da695453b893e2 /net/netfilter/nf_conntrack_core.c
parentnetfilter: xt_CT: missing rcu_read_lock section in timeout assignment (diff)
downloadkernel-qcow2-linux-eeb4cb952386aac764a5cf4cf2490e50a24a8880.tar.gz
kernel-qcow2-linux-eeb4cb952386aac764a5cf4cf2490e50a24a8880.tar.xz
kernel-qcow2-linux-eeb4cb952386aac764a5cf4cf2490e50a24a8880.zip
netfilter: xt_CT: fix assignation of the generic protocol tracker
`iptables -p all' uses 0 to match all protocols, while the conntrack subsystem uses 255. We still need `-p all' to attach the custom timeout policies for the generic protocol tracker. Moreover, we may use `iptables -p sctp' while the SCTP tracker is not loaded. In that case, we have to default on the generic protocol tracker. Another possibility is `iptables -p ip' that should be supported as well. This patch makes sure we validate all possible scenarios. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_core.c')
0 files changed, 0 insertions, 0 deletions