forked from Ivasoft/openwrt
ar71xx: ag71xx: fix build_skb arguments for 3.6
Also add a compatibility patch for 3.3 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33969
This commit is contained in:
@@ -891,7 +891,7 @@ static int ag71xx_rx_packets(struct ag71xx *ag, int limit)
|
||||
dev->stats.rx_packets++;
|
||||
dev->stats.rx_bytes += pktlen;
|
||||
|
||||
skb = build_skb(ring->buf[i].rx_buf);
|
||||
skb = build_skb(ring->buf[i].rx_buf, 0);
|
||||
if (!skb) {
|
||||
kfree(ring->buf[i].rx_buf);
|
||||
goto next;
|
||||
|
||||
Reference in New Issue
Block a user