]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mediatek: fix inconsistency between TXD and the used buffer
authorSean Wang <sean.wang@mediatek.com>
Fri, 14 Apr 2017 03:19:11 +0000 (11:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 17:33:58 +0000 (13:33 -0400)
commit81d2dd09ca11a2b834c8a915c6aabf8325d57ecf
treeb9bedca953f51b7a57c4d5fd61c28870fb9825ee
parentbfe72442578bb112626e476ffe1f276504d85b95
net: ethernet: mediatek: fix inconsistency between TXD and the used buffer

Fix inconsistency between the TXD descriptor and the used buffer that
would cause unexpected logic at mtk_tx_unmap() during skb housekeeping.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c