···353353 unsigned int flags, struct timespec *timeout);354354extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg,355355 unsigned int vlen, unsigned int flags);356356+357357+extern struct ns_common *get_net_ns(struct ns_common *ns);356358#endif /* _LINUX_SOCKET_H */
+2-1
net/socket.c
···990990 * what to do with it - that's up to the protocol still.991991 */992992993993-static struct ns_common *get_net_ns(struct ns_common *ns)993993+struct ns_common *get_net_ns(struct ns_common *ns)994994{995995 return &get_net(container_of(ns, struct net, ns))->ns;996996}997997+EXPORT_SYMBOL_GPL(get_net_ns);997998998999static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg)9991000{