Commit 5d540e4
io_uring/zcrx: fix post open error handling
Closing a queue doesn't guarantee that all associated page pools are
terminated right away, let the refcounting do the work instead of
releasing the zcrx ctx directly.
Cc: stable@vger.kernel.org
Fixes: e0793de ("io_uring/zcrx: set pp memory provider for an rx queue")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent a983aae commit 5d540e4
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | 518 | | |
522 | 519 | | |
523 | 520 | | |
524 | 521 | | |
525 | 522 | | |
526 | 523 | | |
527 | 524 | | |
528 | | - | |
| 525 | + | |
| 526 | + | |
529 | 527 | | |
530 | 528 | | |
531 | 529 | | |
| |||
833 | 831 | | |
834 | 832 | | |
835 | 833 | | |
836 | | - | |
837 | 834 | | |
838 | 835 | | |
839 | 836 | | |
840 | 837 | | |
841 | 838 | | |
842 | | - | |
| 839 | + | |
843 | 840 | | |
844 | 841 | | |
845 | 842 | | |
| |||
0 commit comments