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: NFlavio Leitner <fbl@redhat.com> Suggested-by: NDaniel Borkmann <dborkman@redhat.com> Suggested-by: NFlorian Westphal <fw@strlen.de> Signed-off-by: NJesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
Showing
想要评论请 注册 或 登录