summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/bpfilter/sockopt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/bpfilter/sockopt.c b/net/ipv4/bpfilter/sockopt.c
index 42a96d2d8d05..5e04ed25bc0e 100644
--- a/net/ipv4/bpfilter/sockopt.c
+++ b/net/ipv4/bpfilter/sockopt.c
@@ -10,8 +10,9 @@ int (*bpfilter_process_sockopt)(struct sock *sk, int optname,
10 unsigned int optlen, bool is_set); 10 unsigned int optlen, bool is_set);
11EXPORT_SYMBOL_GPL(bpfilter_process_sockopt); 11EXPORT_SYMBOL_GPL(bpfilter_process_sockopt);
12 12
13int bpfilter_mbox_request(struct sock *sk, int optname, char __user *optval, 13static int bpfilter_mbox_request(struct sock *sk, int optname,
14 unsigned int optlen, bool is_set) 14 char __user *optval,
15 unsigned int optlen, bool is_set)
15{ 16{
16 if (!bpfilter_process_sockopt) { 17 if (!bpfilter_process_sockopt) {
17 int err = request_module("bpfilter"); 18 int err = request_module("bpfilter");