From: Michael S. Tsirkin Date: Sun, 14 Feb 2010 01:01:00 +0000 (+0000) Subject: net: export attach/detach filter routines X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ff3f073670b544a9c0547cc6fef1f7eed5762ed;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: export attach/detach filter routines Export sk_attach_filter/sk_detach_filter routines, so that tun module can use them. Signed-off-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- diff --git a/net/core/filter.c b/net/core/filter.c index 08db7b9143a3..7517110ff4ae 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -529,6 +529,7 @@ int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk) sk_filter_delayed_uncharge(sk, old_fp); return 0; } +EXPORT_SYMBOL_GPL(sk_attach_filter); int sk_detach_filter(struct sock *sk) { @@ -545,3 +546,4 @@ int sk_detach_filter(struct sock *sk) rcu_read_unlock_bh(); return ret; } +EXPORT_SYMBOL_GPL(sk_detach_filter);