]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
netfilter: nf_ct_tcp: extend log message for invalid ignored packets
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 14 May 2012 08:55:03 +0000 (10:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 16 May 2012 22:56:38 +0000 (00:56 +0200)
commit1a4ac9870fb82eed56623d0f69ec59aa5bef85fe
tree9baaef014734b30c4cc349188e0ad08626b1c6b1
parentc44f5faa8e8c2036da2ba656f79b57a737543aff
netfilter: nf_ct_tcp: extend log message for invalid ignored packets

Extend log message if packets are ignored to include the TCP state, ie.
replace:

[ 3968.070196] nf_ct_tcp: invalid packet ignored IN= OUT= SRC=...

by:

[ 3968.070196] nf_ct_tcp: invalid packet ignored in state ESTABLISHED IN= OUT= SRC=...

This information is useful to know in what state we were while ignoring the
packet.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/nf_conntrack_proto_tcp.c