X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Finet_common.h;h=18c773286b91744ccf0447b60597db3acc353f9a;hb=22ae77bc7ac115b9d518d5cbc13d39317079b2b0;hp=38d5a1e9980da3a09f6e6f2c96122bbedf7cc21f;hpb=d06fc1d9b5518582f4982f908e820f2303d1eece;p=linux-2.6-omap-h63xx.git diff --git a/include/net/inet_common.h b/include/net/inet_common.h index 38d5a1e9980..18c773286b9 100644 --- a/include/net/inet_common.h +++ b/include/net/inet_common.h @@ -39,6 +39,17 @@ extern int inet_getname(struct socket *sock, extern int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); +extern int inet_ctl_sock_create(struct sock **sk, + unsigned short family, + unsigned short type, + unsigned char protocol, + struct net *net); + +static inline void inet_ctl_sock_destroy(struct sock *sk) +{ + sk_release_kernel(sk); +} + #endif