]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/inet_common.h
h63xx: nfs mount works, gpe image boots to ts config screen.
[linux-2.6-omap-h63xx.git] / include / net / inet_common.h
index d6238bdefbafe0d0c3d045bde0fc79931132042d..18c773286b91744ccf0447b60597db3acc353f9a 100644 (file)
@@ -39,10 +39,16 @@ 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 socket **sock,
+extern int                     inet_ctl_sock_create(struct sock **sk,
                                                     unsigned short family,
                                                     unsigned short type,
-                                                    unsigned char protocol);
+                                                    unsigned char protocol,
+                                                    struct net *net);
+
+static inline void inet_ctl_sock_destroy(struct sock *sk)
+{
+       sk_release_kernel(sk);
+}
 
 #endif