projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r8152: replace netdev_alloc_skb_ip_align with napi_alloc_skb
[cascardo/linux.git]
/
drivers
/
net
/
usb
/
r8152.c
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index
3f9f6ed
..
161c25e
100644
(file)
--- a/
drivers/net/usb/r8152.c
+++ b/
drivers/net/usb/r8152.c
@@
-1742,7
+1742,7
@@
static int rx_bottom(struct r8152 *tp, int budget)
pkt_len -= CRC_SIZE;
rx_data += sizeof(struct rx_desc);
- skb = n
etdev_alloc_skb_ip_align(netdev
, pkt_len);
+ skb = n
api_alloc_skb(&tp->napi
, pkt_len);
if (!skb) {
stats->rx_dropped++;
goto find_next_rx;