]> 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)
commit89f006863ae677df3f43922b35e0e41fbe776592
tree345f875d57002986e31c563ff3a1fc6d2263e466
parent43fe26a95cdabb899128bb35f8092ce8f343d003
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