diff options
author | Harald Welte <laforge@netfilter.org> | 2005-09-24 16:56:08 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-24 16:56:08 -0700 |
commit | 8ddec7460d2f5db3ac35812c03676b1473d1d668 (patch) | |
tree | 58621a95af9bfcea83a20382659ef088d9921511 /net/ipv4/netfilter/ip_conntrack_proto_tcp.c | |
parent | 8689c07e47e928f8e329f667df8cf697a37425dd (diff) | |
download | linux-8ddec7460d2f5db3ac35812c03676b1473d1d668.tar.bz2 |
[NETFILTER] ip_conntrack: Update event cache when status changes
The GRE, SCTP and TCP protocol helpers did not call
ip_conntrack_event_cache() when updating ct->status. This patch adds
the respective calls.
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ip_conntrack_proto_tcp.c')
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_proto_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c index 1985abc59d24..121760d6cc50 100644 --- a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c +++ b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c @@ -1014,7 +1014,8 @@ static int tcp_packet(struct ip_conntrack *conntrack, /* Set ASSURED if we see see valid ack in ESTABLISHED after SYN_RECV or a valid answer for a picked up connection. */ - set_bit(IPS_ASSURED_BIT, &conntrack->status); + set_bit(IPS_ASSURED_BIT, &conntrack->status); + ip_conntrack_event_cache(IPCT_STATUS, skb); } ip_ct_refresh_acct(conntrack, ctinfo, skb, timeout); |