commit | 752beb5ec4413d40434957e427c6c48d5043f805 | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | Wed May 15 14:40:52 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu May 16 12:12:40 2019 -0700 |
tree | 0519e27006d93cebe14fd330464728190a79aed8 | |
parent | a9eeb998c28d5506616426bd3a216bd5735a18b8 [diff] |
net: bpfilter: fallback to netfilter if failed to load bpfilter kernel module 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 Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: David S. Miller <davem@davemloft.net>