aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/sock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index f3a0d08cbb48..c64996f8a27a 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1254,10 +1254,9 @@ static long sock_wait_for_wmem(struct sock * sk, long timeo)
1254 * Generic send/receive buffer handlers 1254 * Generic send/receive buffer handlers
1255 */ 1255 */
1256 1256
1257static struct sk_buff *sock_alloc_send_pskb(struct sock *sk, 1257struct sk_buff *sock_alloc_send_pskb(struct sock *sk, unsigned long header_len,
1258 unsigned long header_len, 1258 unsigned long data_len, int noblock,
1259 unsigned long data_len, 1259 int *errcode)
1260 int noblock, int *errcode)
1261{ 1260{
1262 struct sk_buff *skb; 1261 struct sk_buff *skb;
1263 gfp_t gfp_mask; 1262 gfp_t gfp_mask;
@@ -1337,6 +1336,7 @@ failure:
1337 *errcode = err; 1336 *errcode = err;
1338 return NULL; 1337 return NULL;
1339} 1338}
1339EXPORT_SYMBOL(sock_alloc_send_pskb);
1340 1340
1341struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, 1341struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size,
1342 int noblock, int *errcode) 1342 int noblock, int *errcode)