Commit 3c3e9a9f authored by Zhu Yanjun's avatar Zhu Yanjun Committed by Leon Romanovsky
Browse files

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: default avatar <syzbot+8425ccfb599521edb153@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=8425ccfb599521edb153


Tested-by: default avatar <syzbot+8425ccfb599521edb153@syzkaller.appspotmail.com>
Fixes: 1a633bdc ("RDMA/rxe: Let destroy qp succeed with stuck packet")
Signed-off-by: default avatarZhu Yanjun <yanjun.zhu@linux.dev>
Link: https://patch.msgid.link/20250726013104.463570-1-yanjun.zhu@linux.dev


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 8f5ae30d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment