summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-07-30 17:01:18 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-31 16:44:35 -0700
commiteff73e16ee116f6eafa2be48fab42659a27cb453 (patch)
treea12758ac0c378210996364775eb5d1a7a90eb3c1 /drivers/s390/net/qeth_core.h
parent9fc95f50eedb5cfe5d53a9c970c47ed680fc4e54 (diff)
s390/qeth: tolerate pre-filled RX buffer
When preparing a buffer for RX refill, tolerate that it already has a pool_entry attached. Otherwise we could easily leak such a pool_entry when re-driving the RX refill after an error (from eg. do_qdio()). This needs some minor adjustment in the code that drains RX buffer(s) prior to RX refill and during teardown, so that ->pool_entry is NULLed accordingly. Fixes: 4a71df50047f ("qeth: new qeth device driver") Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
0 files changed, 0 insertions, 0 deletions