]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: release cmd buffer in error paths
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 4 Feb 2019 16:40:06 +0000 (17:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 17:43:47 +0000 (09:43 -0800)
commit92a63984cefe7dc6bce6f85a4f0bc2028218a427
tree1a33973b3f1155bf4398c9be785e84becdebc201
parent88222eca0984e90f99aa6cb7354a42c255c945d4
s390/qeth: release cmd buffer in error paths

Whenever we fail before/while starting an IO, make sure to release the
IO buffer. Usually qeth_irq() would do this for us, but if the IO
doesn't even start we obviously won't get an interrupt for it either.

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