mirror of https://github.com/hak5/openwrt.git
13 lines
394 B
Diff
13 lines
394 B
Diff
|
reverted:
|
||
|
--- a/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
|
||
|
+++ b/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
|
||
|
@@ -891,7 +891,7 @@ static int ag71xx_rx_packets(struct ag71
|
||
|
dev->stats.rx_packets++;
|
||
|
dev->stats.rx_bytes += pktlen;
|
||
|
|
||
|
- skb = build_skb(ring->buf[i].rx_buf, 0);
|
||
|
+ skb = build_skb(ring->buf[i].rx_buf);
|
||
|
if (!skb) {
|
||
|
kfree(ring->buf[i].rx_buf);
|
||
|
goto next;
|