Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298438
b: refs/heads/master
c: b5447ff
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and John W. Linville committed Mar 26, 2012
1 parent 5d5d6bb commit d115ac3
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: 195ca3b122c02cf21ce64f211d9474600da80e80
refs/heads/master: b5447ff92b5169eab843a76d83e98d0cd7b7f5b6
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1913,13 +1913,13 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
if (sc->rx.frag) {
int space = skb->len - skb_tailroom(hdr_skb);

sc->rx.frag = NULL;

if (pskb_expand_head(hdr_skb, 0, space, GFP_ATOMIC) < 0) {
dev_kfree_skb(skb);
goto requeue_drop_frag;
}

sc->rx.frag = NULL;

skb_copy_from_linear_data(skb, skb_put(hdr_skb, skb->len),
skb->len);
dev_kfree_skb_any(skb);
Expand Down

0 comments on commit d115ac3

Please sign in to comment.