Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103367
b: refs/heads/master
c: ff35239
h: refs/heads/master
i:
  103365: 627bec1
  103363: c0c02ce
  103359: 942a4f6
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Jul 8, 2008
1 parent fe46c57 commit 606454d
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: 50db7875d9dcd89f7624b13535738612faf8db0c
refs/heads/master: ff352391acfac1e183c8c8b2858f9393bd064a65
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/rt2x00/rt2x00queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ struct sk_buff *rt2x00queue_alloc_rxskb(struct rt2x00_dev *rt2x00dev,
frame_size = entry->queue->data_size + entry->queue->desc_size;

/*
* Reserve a few bytes extra headroom to allow drivers some moving
* space (e.g. for alignment), while keeping the skb aligned.
* The payload should be aligned to a 4-byte boundary,
* this means we need at least 3 bytes for moving the frame
* into the correct offset.
*/
reserved_size = 8;
reserved_size = 4;

/*
* Allocate skbuffer.
Expand Down

0 comments on commit 606454d

Please sign in to comment.