Re: [PATCH net v2 0/2] net/smc: do not reuse the DMB of a nocopy device
From: Jakub Kicinski
Date: Wed Nov 18 2026 - 19:24:19 EST
On Sat, 14 Nov 2026 14:09:27 -0500 Bryam Vargas via B4 Relay wrote:
> With DMB nocopy (the dibs loopback device) a peer writes into the other
> end's RMB through its own attachment. smc_buf_unuse() puts that DMB back
> in the link group's pool with its token still registered, IOW the old
> peer can still send its CDCs to it. The next connection that takes the
> DMB gets those CDCs, and a peer that attaches after the other end gave
> up lands in another connection's DMB. 2/2 stops pooling DMBs on nocopy
> devices. This is the reused-DMB case that the v6 cover of the CDC
> receive ordering series [1] lists as not fixed; Sashiko flagged it on
> v5 2/2 [2].
SNC, DIBS maintainers, could you review this slop?