]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: only warn once on wrong seqadj usage
authorJesper Dangaard Brouer <brouer@redhat.com>
Sat, 4 Jan 2014 13:10:43 +0000 (14:10 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Jan 2014 13:23:17 +0000 (14:23 +0100)
commitf2661adc0c134d890d84c32d7cb54a2b4d1f0a5f
treef7f1907942660eef53d3d638e8743c3c0df96ef3
parent2690d97ade05c5325cbf7c72b94b90d265659886
netfilter: only warn once on wrong seqadj usage

Avoid potentially spamming the kernel log with WARN splash messages
when catching wrong usage of seqadj, by simply using WARN_ONCE.

This is a followup to commit db12cf274353 (netfilter: WARN about
wrong usage of sequence number adjustments)

Suggested-by: Flavio Leitner <fbl@redhat.com>
Suggested-by: Daniel Borkmann <dborkman@redhat.com>
Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_seqadj.c