From: David Miller <davem@davemloft.net>
To: ap420073@gmail.com
Cc: netdev@vger.kernel.org, daniel@iogearbox.net, ast@kernel.org,
pablo@netfilter.org, fw@strlen.de
Subject: Re: [PATCH net] net: bpfilter: fix iptables failure if bpfilter_umh is disabled
Date: Mon, 05 Nov 2018 17:13:21 -0800 (PST) [thread overview]
Message-ID: <20181105.171321.294466712176893792.davem@davemloft.net> (raw)
In-Reply-To: <20181105133141.31621-1-ap420073@gmail.com>
From: Taehee Yoo <ap420073@gmail.com>
Date: Mon, 5 Nov 2018 22:31:41 +0900
> When iptables command is executed, ip_{set/get}sockopt() try to upload
> bpfilter.ko if bpfilter is enabled. if it couldn't find bpfilter.ko,
> command is failed.
> bpfilter.ko is generated if CONFIG_BPFILTER_UMH is enabled.
> ip_{set/get}sockopt() only checks CONFIG_BPFILTER.
> So that if CONFIG_BPFILTER is enabled and CONFIG_BPFILTER_UMH is disabled,
> iptables command is always failed.
>
> test config:
> CONFIG_BPFILTER=y
> # CONFIG_BPFILTER_UMH is not set
>
> test command:
> %iptables -L
> iptables: No chain/target/match by that name.
>
> Fixes: d2ba09c17a06 ("net: add skeleton of bpfilter kernel module")
> Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Applied, thanks Taehee-ssi.
prev parent reply other threads:[~2018-11-06 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 13:31 [PATCH net] net: bpfilter: fix iptables failure if bpfilter_umh is disabled Taehee Yoo
2018-11-06 1:13 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181105.171321.294466712176893792.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ap420073@gmail.com \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=fw@strlen.de \
--cc=netdev@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).