]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: keep cmd alive after IO completion
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 20 Aug 2019 14:46:38 +0000 (16:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 20:51:46 +0000 (13:51 -0700)
commit20ec3fa80b7ad679a612bf7fbf38e6eee788ad19
tree2ae72f39083f42b17f0cf645471737bbccd4029b
parentd58ab7868f566a228d43453a1e21a4e3afc6846f
s390/qeth: keep cmd alive after IO completion

Current code releases the cmd struct after its initial IO has completed.
Any reply processing is done independently, using a separate qeth_reply
struct.
In preparation for merging the cmd and reply structs together, take an
additional reference on the cmd object so that it stays around all the
way until qeth_send_control_data() returns.

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