Skip to content

Commit

Permalink
[NETFILTER]: Missing unlock in TCP connection tracking error path
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Sep 6, 2005
1 parent 49719eb commit e446639
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv4/netfilter/ip_conntrack_proto_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e446639

Please sign in to comment.