Commit 3c3e9a9
RDMA/rxe: Flush delayed SKBs while releasing RXE resources
When skb packets are sent out, these skb packets still depends on
the rxe resources, for example, QP, sk, when these packets are
destroyed.
If these rxe resources are released when the skb packets are destroyed,
the call traces will appear.
To avoid skb packets hang too long time in some network devices,
a timestamp is added when these skb packets are created. If these
skb packets hang too long time in network devices, these network
devices can free these skb packets to release rxe resources.
Reported-by: syzbot+8425ccfb599521edb153@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=8425ccfb599521edb153
Tested-by: syzbot+8425ccfb599521edb153@syzkaller.appspotmail.com
Fixes: 1a633bd ("RDMA/rxe: Let destroy qp succeed with stuck packet")
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Link: https://patch.msgid.link/20250726013104.463570-1-yanjun.zhu@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>1 parent 8f5ae30 commit 3c3e9a9
2 files changed
Lines changed: 9 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 348 | + | |
352 | 349 | | |
353 | 350 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | 351 | | |
369 | | - | |
| 352 | + | |
| 353 | + | |
370 | 354 | | |
371 | 355 | | |
372 | 356 | | |
373 | | - | |
374 | | - | |
375 | 357 | | |
376 | 358 | | |
377 | 359 | | |
| |||
383 | 365 | | |
384 | 366 | | |
385 | 367 | | |
| 368 | + | |
386 | 369 | | |
387 | 370 | | |
388 | 371 | | |
| |||
405 | 388 | | |
406 | 389 | | |
407 | 390 | | |
| 391 | + | |
408 | 392 | | |
409 | 393 | | |
410 | 394 | | |
| |||
497 | 481 | | |
498 | 482 | | |
499 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
500 | 487 | | |
501 | 488 | | |
502 | 489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments