]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: delay draining the TX buffers
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 10 Sep 2020 09:05:18 +0000 (11:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 20:31:10 +0000 (13:31 -0700)
commit6057ab147ef0fe3d09a7e3fa53f754b4fdd80702
treebbe6a558708ae9d9550f4b2ebba2b02c1c9f5713
parent86e11863a7c1ea5b12e3adb460b888132466b77b
s390/qeth: delay draining the TX buffers

Wait until the QDIO data connection is severed. Otherwise the device
might still be processing the buffers, and end up accessing skb data
that we already freed.

Fixes: 50e3fa303903 ("s390/qeth: fix qdio teardown after early init error")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c