Skip to content
Commit 03832a32 authored by Ziyang Xuan's avatar Ziyang Xuan Committed by Florian Westphal
Browse files

netfilter: nfnetlink: fix potential dead lock in nfnetlink_rcv_msg()



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: 50f2db9e ("netfilter: nfnetlink: consolidate callback types")
Signed-off-by: default avatarZiyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent ce9e57fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment