]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: fix cancelling of TX timer on dev_close()
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 4 May 2020 17:39:42 +0000 (19:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 18:21:40 +0000 (11:21 -0700)
commit246adaa0e1cc19850274577f24bc41276be2715d
tree9e2568e215ceb8d10ec9c6913418828da361b1fd
parent2fde5f10dc7e45bf7ffca7030b6283e158b9927f
s390/qeth: fix cancelling of TX timer on dev_close()

With the introduction of TX coalescing, .ndo_start_xmit now potentially
starts the TX completion timer. So only kill the timer _after_ TX has
been disabled.

Fixes: a7c6d6a143c6 ("s390/qeth: add TX IRQ coalescing support for IQD devices")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c