Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298455
b: refs/heads/master
c: 094b585
h: refs/heads/master
i:
  298453: 80d1eac
  298451: 36cd103
  298447: 87927d0
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Mar 28, 2012
1 parent 496912f commit 4ece355
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: 21dcda6083a0573686acabca39b3f92ba032d333
refs/heads/master: 094b5855bf37eae4b297bc47bb5bc5454f1f6fab
4 changes: 2 additions & 2 deletions trunk/drivers/net/usb/cdc-phonet.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ static void rx_complete(struct urb *req)
memcpy(skb_put(skb, 1), page_address(page), 1);
skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
page, 1, req->actual_length,
req->actual_length);
PAGE_SIZE);
page = NULL;
}
} else {
skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags,
page, 0, req->actual_length,
req->actual_length);
PAGE_SIZE);
page = NULL;
}
if (req->actual_length < PAGE_SIZE)
Expand Down

0 comments on commit 4ece355

Please sign in to comment.