]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: handle error when backing RX buffer
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 10 Mar 2020 17:38:02 +0000 (18:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 23:07:49 +0000 (16:07 -0700)
commita783780fda140d60481298c1938d6ba65fb67206
tree150db98a777a1bd6ec8f2af3e7cac6a8aa2d14c7
parent361156077dae5311cf1dc233e7683d84be1ab85b
s390/qeth: handle error when backing RX buffer

qeth_init_qdio_queues() fills the RX ring with an initial set of
RX buffers. If qeth_init_input_buffer() fails to back one of the RX
buffers with memory, we need to bail out and report the error.

Fixes: a5a090d6ef88 ("qeth: new qeth device driver")
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