In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_wed: free up rings during detach During __mtk_wed_detach, rx_ring and tx_wdma aren't freed up. Fix this by add them to mtk_wed_free_rx_rings. This patch is pulled from mtk-openwrt-feeds to address Sashiko's review and edit to rely on ring->desc instead of an extra flag.
https://git.kernel.org/stable/c/99975f7225c0f07e9d83c5dcde0402e491378fa9
https://git.kernel.org/stable/c/675f37b4fa4f4c417ab73edb93198fd72d54d686
https://git.kernel.org/stable/c/5d555ae6a0193f64594bc47a121cc288ce956377
https://git.kernel.org/stable/c/5b8d12512cbd3495dbd8c38e8047bb5d716f0f3f