diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2018-10-23 20:24:28 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-23 10:55:35 -0700 |
commit | 8d5b0bf611ec5b7618d5b772dddc93b8afa78cb8 (patch) | |
tree | 52f5d7e199ab7b77ef6c22be72a3b680899a6863 /net | |
parent | a3241a91de6429051a211b5ce04d6946157caec7 (diff) | |
download | linux-8d5b0bf611ec5b7618d5b772dddc93b8afa78cb8.tar.gz linux-8d5b0bf611ec5b7618d5b772dddc93b8afa78cb8.tar.bz2 linux-8d5b0bf611ec5b7618d5b772dddc93b8afa78cb8.zip |
net: socionext: Reset tx queue in ndo_stop
We observed that packets and bytes count are not reset
when user performs interface down. Eventually, tx queue is
exhausted and packets will not be sent out.
To avoid this problem, resets tx queue in ndo_stop.
Fixes: 533dd11a12f6 ("net: socionext: Add Synquacer NetSec driver")
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Signed-off-by: Yoshitoyo Osaki <osaki.yoshitoyo@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions