Commit 5f09c92
net/rds: Add missing switch/break in rds_recv_worker()
There is a missing break with an unintentional fallthrough
in rds_recv_worker() when c_trans->recv_path(cp) returns -ENOMEM.
While rds_ib_recv_path() sets ret = 0, rds_tcp_read_sock()
can return non-zero and rds_tcp_data_recv() does return -ENOMEM
in some cases, so it's reachable via rds_tcp.ko. Add the missing
break; so we can reschedule the recv_worker with a delay of 2.
Orabug: 38118668
Fixes: 3930fc5 ("rds: Avoid queuing superfluous send and recv work")
Reviewed-by: Gerd Rausch <[email protected]>
Signed-off-by: Sharath Srinivasan <[email protected]>
Signed-off-by: Vijayendra Suman <[email protected]>1 parent e4f3022 commit 5f09c92
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
| |||
0 commit comments