Skip to content
Commit f2661adc authored by Jesper Dangaard Brouer's avatar Jesper Dangaard Brouer Committed by Pablo Neira Ayuso
Browse files

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 db12cf27 (netfilter: WARN about
wrong usage of sequence number adjustments)

Suggested-by: default avatarFlavio Leitner <fbl@redhat.com>
Suggested-by: default avatarDaniel Borkmann <dborkman@redhat.com>
Suggested-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 2690d97a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment