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: NZiyang Xuan <william.xuanziyang@huawei.com> Signed-off-by: NFlorian Westphal <fw@strlen.de>
Showing
想要评论请 注册 或 登录