Re: [PATCH] netfilter: nfnetlink: fix potential dead lock in nfnetlink_rcv_msg()

From: Florian Westphal
Date: Thu Nov 03 2022 - 07:04:28 EST


Ziyang Xuan <william.xuanziyang@xxxxxxxxxx> wrote:
> When type is NFNL_CB_MUTEX and -EAGAIN error occur in nfnetlink_rcv_msg(),
> it does not execute nfnl_unlock(). That would trigger potential dead lock.
>
> Fixes: 50f2db9e368f ("netfilter: nfnetlink: consolidate callback types")

Applied to nf:testing, thanks.