Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95348
b: refs/heads/master
c: e3eccad
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Francois Romieu committed Apr 27, 2008
1 parent a74a744 commit 6d9f7c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4709aa59ede5ff9902d60088d93d1c0e2e9d2247
refs/heads/master: e3eccad9f6e84656b45bfa07738934145b09e11e
4 changes: 2 additions & 2 deletions trunk/drivers/net/sis190.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,9 @@ static inline int sis190_try_rx_copy(struct sk_buff **sk_buff, int pkt_size,
if (pkt_size < rx_copybreak) {
struct sk_buff *skb;

skb = dev_alloc_skb(pkt_size + NET_IP_ALIGN);
skb = dev_alloc_skb(pkt_size + 2);
if (skb) {
skb_reserve(skb, NET_IP_ALIGN);
skb_reserve(skb, 2);
skb_copy_to_linear_data(skb, sk_buff[0]->data, pkt_size);
*sk_buff = skb;
sis190_give_to_asic(desc, rx_buf_sz);
Expand Down

0 comments on commit 6d9f7c1

Please sign in to comment.