aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTodd Seidelmann <tseidelmann@linode.com>2019-08-21 11:47:53 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2019-08-27 12:58:28 +0200
commit3cf2f450fff304be9cf4868bf0df17f253bc5b1c (patch)
treea6ff94f53bf8f50878a74ee19103da2d78c40e8c /scripts
parentr8152: Set memory to all 0xFFs on failed reg reads (diff)
downloadlinux-dev-3cf2f450fff304be9cf4868bf0df17f253bc5b1c.tar.xz
linux-dev-3cf2f450fff304be9cf4868bf0df17f253bc5b1c.zip
netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
Simplify the check in physdev_mt_check() to emit an error message only when passed an invalid chain (ie, NF_INET_LOCAL_OUT). This avoids cluttering up the log with errors against valid rules. For large/heavily modified rulesets, current behavior can quickly overwhelm the ring buffer, because this function gets called on every change, regardless of the rule that was changed. Signed-off-by: Todd Seidelmann <tseidelmann@linode.com> Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions