aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros/alx/main.c
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2018-11-05 22:31:41 +0900
committerDavid S. Miller <davem@davemloft.net>2018-11-05 17:12:18 -0800
commit97adaddaa6db7a8af81b9b11e30cbe3628cd6700 (patch)
tree416f1193370a86bc0e4fe45f8cd16b650ee8bf82 /drivers/net/ethernet/atheros/alx/main.c
parentsock_diag: fix autoloading of the raw_diag module (diff)
downloadlinux-dev-97adaddaa6db7a8af81b9b11e30cbe3628cd6700.tar.xz
linux-dev-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 'drivers/net/ethernet/atheros/alx/main.c')
0 files changed, 0 insertions, 0 deletions