Re: [PATCH net] xfrm: hold net_device reference under RCU in bundle creation

From: Cen Zhang (Microsoft)

Date: Wed Aug 26 2026 - 15:30:25 EST


On Mon, Aug 24, 2026 at 09:40:52AM +0200, Steffen Klassert wrote:
> Can't we move the rcu_read_unlock() to the end of the function and
> avoid the additional refcount?
>
> Same here.

Thanks for pointing out, will resend as v2 soon.

Cen