This repository was archived by the owner on Apr 8, 2024. It is now read-only.
Commit ee3bc48
s390/qeth: handle error when backing RX buffer
[ Upstream commit 17413852804d7e86e6f0576cca32c1541817800e ]
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: 4a71df5 ("qeth: new qeth device driver")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 8b6cccd commit ee3bc48
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2633 | 2633 | | |
2634 | 2634 | | |
2635 | 2635 | | |
2636 | | - | |
| 2636 | + | |
2637 | 2637 | | |
2638 | 2638 | | |
2639 | 2639 | | |
2640 | 2640 | | |
2641 | | - | |
| 2641 | + | |
2642 | 2642 | | |
2643 | 2643 | | |
2644 | 2644 | | |
| |||
2670 | 2670 | | |
2671 | 2671 | | |
2672 | 2672 | | |
| 2673 | + | |
2673 | 2674 | | |
2674 | 2675 | | |
2675 | | - | |
2676 | | - | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
2677 | 2682 | | |
2678 | 2683 | | |
2679 | 2684 | | |
| |||
0 commit comments