Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312023
b: refs/heads/master
c: 310e158
h: refs/heads/master
i:
  312021: 7f06b95
  312019: 0a5fab1
  312015: 43bf77a
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jul 16, 2012
1 parent 7eee2d5 commit 6e2ae87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ac2908e4b2edaec60e9090ddb4d9ceb76c05e7d
refs/heads/master: 310e158cc3b7a6adf41e778d52be746c4dc88561
2 changes: 1 addition & 1 deletion trunk/net/core/skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev,
unsigned int fragsz = SKB_DATA_ALIGN(length + NET_SKB_PAD) +
SKB_DATA_ALIGN(sizeof(struct skb_shared_info));

if (fragsz <= PAGE_SIZE && !(gfp_mask & __GFP_WAIT)) {
if (fragsz <= PAGE_SIZE && !(gfp_mask & (__GFP_WAIT | GFP_DMA))) {
void *data = netdev_alloc_frag(fragsz);

if (likely(data)) {
Expand Down

0 comments on commit 6e2ae87

Please sign in to comment.