Re: [PATCH] net: bpfilter: fallback to netfilter if failed to load bpfilter kernel module

2019-05-16 Thread David Miller
From: Konstantin Khlebnikov Date: Wed, 15 May 2019 14:40:52 +0300 > If bpfilter is not available return ENOPROTOOPT to fallback to netfilter. > > Function request_module() returns both errors and userspace exit codes. > Just ignore them. Rechecking bpfilter_ops is enough. > > Fixes: d2ba09c17a0

[PATCH] net: bpfilter: fallback to netfilter if failed to load bpfilter kernel module

2019-05-15 Thread Konstantin Khlebnikov
If bpfilter is not available return ENOPROTOOPT to fallback to netfilter. Function request_module() returns both errors and userspace exit codes. Just ignore them. Rechecking bpfilter_ops is enough. Fixes: d2ba09c17a06 ("net: add skeleton of bpfilter kernel module") Signed-off-by: Konstantin Khle