projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305b016
)
net: export attach/detach filter routines
author
Michael S. Tsirkin
<mst@redhat.com>
Sun, 14 Feb 2010 01:01:00 +0000
(
01:01
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Feb 2010 00:35:16 +0000
(16:35 -0800)
Export sk_attach_filter/sk_detach_filter routines,
so that tun module can use them.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/filter.c
b/net/core/filter.c
index 08db7b9143a35709f61babe2932e5d7ff6754cea..7517110ff4ae5697ad2611512e5a938e9008c14d 100644
(file)
--- 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);