diff options
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index 3229d29e352a..b3c9df385bbc 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -316,7 +316,7 @@ static inline struct sk_buff *buf_acquire(u32 size) | |||
316 | struct sk_buff *skb; | 316 | struct sk_buff *skb; |
317 | unsigned int buf_size = (BUF_HEADROOM + size + 3) & ~3u; | 317 | unsigned int buf_size = (BUF_HEADROOM + size + 3) & ~3u; |
318 | 318 | ||
319 | skb = alloc_skb(buf_size, GFP_ATOMIC); | 319 | skb = alloc_skb_fclone(buf_size, GFP_ATOMIC); |
320 | if (skb) { | 320 | if (skb) { |
321 | skb_reserve(skb, BUF_HEADROOM); | 321 | skb_reserve(skb, BUF_HEADROOM); |
322 | skb_put(skb, size); | 322 | skb_put(skb, size); |