Message ID | 20210508220835.53801-5-xiyou.wangcong@gmail.com |
---|---|
State | New |
Headers | show |
Series | sockmap: add sockmap support for unix datagram socket | expand |
diff --git a/net/core/sock_map.c b/net/core/sock_map.c index 6f1b82b8ad49..13b474d89f93 100644 --- a/net/core/sock_map.c +++ b/net/core/sock_map.c @@ -1513,6 +1513,7 @@ void sock_map_unhash(struct sock *sk) rcu_read_unlock(); saved_unhash(sk); } +EXPORT_SYMBOL_GPL(sock_map_unhash); void sock_map_close(struct sock *sk, long timeout) { @@ -1536,6 +1537,7 @@ void sock_map_close(struct sock *sk, long timeout) release_sock(sk); saved_close(sk, timeout); } +EXPORT_SYMBOL_GPL(sock_map_close); static int sock_map_iter_attach_target(struct bpf_prog *prog, union bpf_iter_link_info *linfo,