]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/rxe: Flush delayed SKBs while releasing RXE resources
authorZhu Yanjun <yanjun.zhu@linux.dev>
Sat, 26 Jul 2025 01:31:04 +0000 (18:31 -0700)
committerLeon Romanovsky <leon@kernel.org>
Wed, 13 Aug 2025 10:20:00 +0000 (06:20 -0400)
commit3c3e9a9f2972b364e8c2cfbfdeb23c6d6be4f87f
tree3a6e2920edb0177ace9cdfc0b17dd0508312c127
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
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: 1a633bdc8fd9 ("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>
drivers/infiniband/sw/rxe/rxe_net.c
drivers/infiniband/sw/rxe/rxe_qp.c