]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mediatek: fix fails from TX housekeeping due to incorrect port setup
authorSean Wang <sean.wang@mediatek.com>
Thu, 1 Sep 2016 02:47:27 +0000 (10:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 03:53:47 +0000 (20:53 -0700)
commit272e84b6dd0032fa2a40cc15b0e5d1adecf5f50b
tree345f875d57002986e31c563ff3a1fc6d2263e466
parentec928a1b6e0dfbcced559f0fca00f7ff6d966150
net: ethernet: mediatek: fix fails from TX housekeeping due to incorrect port setup

which net device the SKB is complete for depends on the forward port
on txd4 on the corresponding TX descriptor, but the information isn't
set up well in case of  SKB fragments that would lead to watchdog timeout
from the upper layer, so fix it up.

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