ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
[openwrt.git] / target / linux / ar71xx / files / drivers / net / ag71xx / ag71xx.h
index 1025bb4..9dcbf4a 100644 (file)
@@ -148,6 +148,9 @@ struct ag71xx {
        struct napi_struct      napi;
        u32                     msg_enable;
 
+       struct ag71xx_desc      *stop_desc;
+       dma_addr_t              stop_desc_dma;
+
        struct ag71xx_ring      rx_ring;
        struct ag71xx_ring      tx_ring;