提交 e4466399 编写于 作者: P Patrick McHardy 提交者: David S. Miller

[NETFILTER]: Missing unlock in TCP connection tracking error path

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 49719eb3
......@@ -349,6 +349,7 @@ static int tcp_to_nfattr(struct sk_buff *skb, struct nfattr *nfa,
return 0;
nfattr_failure:
read_unlock_bh(&tcp_lock);
return -1;
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册