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: 1a633bdc ("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>
Loading
Please sign in to comment