aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-08-09 23:10:12 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:42:36 -0400
commit87d11ceb9deb7a3f13fdee6e89d9bb6be7d27a71 (patch)
tree3b5f6f15a76e6d58e5088cad707859390757181a /include/net/sock.h
parentc676270bcd25015b978722ec0352c330dcc87883 (diff)
[SOCK]: Introduce sk_clone
Out of tcp_create_openreq_child, will be used in dccp_create_openreq_child, and is a nice sock function anyway. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index bdae0a5eadf5..828dc082fcb7 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -737,6 +737,8 @@ extern struct sock *sk_alloc(int family,
737 unsigned int __nocast priority, 737 unsigned int __nocast priority,
738 struct proto *prot, int zero_it); 738 struct proto *prot, int zero_it);
739extern void sk_free(struct sock *sk); 739extern void sk_free(struct sock *sk);
740extern struct sock *sk_clone(const struct sock *sk,
741 const unsigned int __nocast priority);
740 742
741extern struct sk_buff *sock_wmalloc(struct sock *sk, 743extern struct sk_buff *sock_wmalloc(struct sock *sk,
742 unsigned long size, int force, 744 unsigned long size, int force,