diff options
author | Patrick McHardy <kaber@trash.net> | 2009-06-11 10:16:09 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-06-11 10:16:09 -0400 |
commit | 334a47f6345560af047f164c356d71c3226965d5 (patch) | |
tree | f889c48690c9505ca483b200021befbef27d8fd6 /net/netfilter | |
parent | 36432dae73cf2c90a59b39c8df9fd8219272b005 (diff) |
netfilter: nf_ct_tcp: fix up build after merge
Replace the last occurence of tcp_lock by the per-conntrack lock.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_conntrack_proto_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c index 5142e60af540..33fc0a443f3d 100644 --- a/net/netfilter/nf_conntrack_proto_tcp.c +++ b/net/netfilter/nf_conntrack_proto_tcp.c | |||
@@ -944,7 +944,7 @@ static int tcp_packet(struct nf_conn *ct, | |||
944 | && (ct->proto.tcp.seen[!dir].flags & IP_CT_TCP_FLAG_MAXACK_SET) | 944 | && (ct->proto.tcp.seen[!dir].flags & IP_CT_TCP_FLAG_MAXACK_SET) |
945 | && before(ntohl(th->seq), ct->proto.tcp.seen[!dir].td_maxack)) { | 945 | && before(ntohl(th->seq), ct->proto.tcp.seen[!dir].td_maxack)) { |
946 | /* Invalid RST */ | 946 | /* Invalid RST */ |
947 | write_unlock_bh(&tcp_lock); | 947 | spin_unlock_bh(&ct->lock); |
948 | if (LOG_INVALID(net, IPPROTO_TCP)) | 948 | if (LOG_INVALID(net, IPPROTO_TCP)) |
949 | nf_log_packet(pf, 0, skb, NULL, NULL, NULL, | 949 | nf_log_packet(pf, 0, skb, NULL, NULL, NULL, |
950 | "nf_ct_tcp: invalid RST "); | 950 | "nf_ct_tcp: invalid RST "); |