summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_proto_icmp.c
diff options
context:
space:
mode:
authorTaehee Yoo2018-11-05 14:31:41 +0100
committerDavid S. Miller2018-11-06 02:12:18 +0100
commit97adaddaa6db7a8af81b9b11e30cbe3628cd6700 (patch)
tree416f1193370a86bc0e4fe45f8cd16b650ee8bf82 /net/netfilter/nf_conntrack_proto_icmp.c
parentsock_diag: fix autoloading of the raw_diag module (diff)
downloadkernel-qcow2-linux-97adaddaa6db7a8af81b9b11e30cbe3628cd6700.tar.gz
kernel-qcow2-linux-97adaddaa6db7a8af81b9b11e30cbe3628cd6700.tar.xz
kernel-qcow2-linux-97adaddaa6db7a8af81b9b11e30cbe3628cd6700.zip
net: bpfilter: fix iptables failure if bpfilter_umh is disabled
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_icmp.c')
0 files changed, 0 insertions, 0 deletions