diff options
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/a01-ag71xx-build_skb-compat.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.3/a01-ag71xx-build_skb-compat.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/a01-ag71xx-build_skb-compat.patch b/target/linux/ar71xx/patches-3.3/a01-ag71xx-build_skb-compat.patch new file mode 100644 index 0000000000..a75f8ef4c2 --- /dev/null +++ b/target/linux/ar71xx/patches-3.3/a01-ag71xx-build_skb-compat.patch @@ -0,0 +1,12 @@ +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; |