aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-02-04 19:55:54 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-04 19:55:54 -0500
commit4cc7f68d65558f683c702d4fe3a5aac4c5227b97 (patch)
tree88f2987e503790d2015a7f0a3b5748d05a0df140 /include/net
parent9a279bcbe347496799711155ed41a89bc40f79c5 (diff)
net: Reexport sock_alloc_send_pskb
The function sock_alloc_send_pskb is completely useless if not exported since most of the code in it won't be used as is. In fact, this code has already been duplicated in the tun driver. Now that we need accounting in the tun driver, we can in fact use this function as is. So this patch marks it for export again. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 5a3a151bd730..c047def9cf10 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -945,6 +945,11 @@ extern struct sk_buff *sock_alloc_send_skb(struct sock *sk,
945 unsigned long size, 945 unsigned long size,
946 int noblock, 946 int noblock,
947 int *errcode); 947 int *errcode);
948extern struct sk_buff *sock_alloc_send_pskb(struct sock *sk,
949 unsigned long header_len,
950 unsigned long data_len,
951 int noblock,
952 int *errcode);
948extern void *sock_kmalloc(struct sock *sk, int size, 953extern void *sock_kmalloc(struct sock *sk, int size,
949 gfp_t priority); 954 gfp_t priority);
950extern void sock_kfree_s(struct sock *sk, void *mem, int size); 955extern void sock_kfree_s(struct sock *sk, void *mem, int size);