Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35193
b: refs/heads/master
c: 83c758f
h: refs/heads/master
i:
  35191: e951db6
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Aug 29, 2006
1 parent dfe5064 commit 2fe9d77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 78bc218663e3bd6cbbaf6a363d2f88f17541adfb
refs/heads/master: 83c758fabd3589842ebcb3af6b9150ff55bc39aa
7 changes: 4 additions & 3 deletions trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,8 @@ static int skge_rx_fill(struct skge_port *skge)
do {
struct sk_buff *skb;

skb = alloc_skb(skge->rx_buf_size + NET_IP_ALIGN, GFP_KERNEL);
skb = __dev_alloc_skb(skge->rx_buf_size + NET_IP_ALIGN,
GFP_KERNEL);
if (!skb)
return -ENOMEM;

Expand Down Expand Up @@ -2609,7 +2610,7 @@ static inline struct sk_buff *skge_rx_get(struct skge_port *skge,
goto error;

if (len < RX_COPY_THRESHOLD) {
skb = alloc_skb(len + 2, GFP_ATOMIC);
skb = dev_alloc_skb(len + 2);
if (!skb)
goto resubmit;

Expand All @@ -2624,7 +2625,7 @@ static inline struct sk_buff *skge_rx_get(struct skge_port *skge,
skge_rx_reuse(e, skge->rx_buf_size);
} else {
struct sk_buff *nskb;
nskb = alloc_skb(skge->rx_buf_size + NET_IP_ALIGN, GFP_ATOMIC);
nskb = dev_alloc_skb(skge->rx_buf_size + NET_IP_ALIGN);
if (!nskb)
goto resubmit;

Expand Down

0 comments on commit 2fe9d77

Please sign in to comment.