diff options
author | Alexander Kochetkov <al.kochet@gmail.com> | 2016-02-09 16:20:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-16 21:26:30 +0100 |
commit | 99f93a156a2aa9ac1e44f7cb1a197425e6d9879a (patch) | |
tree | 0203edb151bb461fc9f720007be517ab30b7a020 /security | |
parent | net: arc_emac: fix koops caused by sk_buff free (diff) | |
download | linux-99f93a156a2aa9ac1e44f7cb1a197425e6d9879a.tar.xz linux-99f93a156a2aa9ac1e44f7cb1a197425e6d9879a.zip |
net: arc_emac: reset txbd_curr and txbd_dirty pointers to zero
EMAC reset internal tx ring pointer to zero at statup.
txbd_curr and txbd_dirty can be different from zero.
That cause ethernet transfer hang (no packets transmitted).
In order to reproduce, run on device:
ifconfig eth0 down
ifconfig eth0 up
Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions