Skip to content

Commit

Permalink
netfilter: nf_ct_tcp: missing per-net support for cttimeout
Browse files Browse the repository at this point in the history
This patch adds missing per-net support for the cttimeout
infrastructure to TCP.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Gao feng <gaofeng@cn.fujitsu.com>
  • Loading branch information
Pablo Neira Ayuso committed Jul 4, 2012
1 parent 0891147 commit be0593c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/nf_conntrack_proto_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ static int tcp_error(struct net *net, struct nf_conn *tmpl,

static unsigned int *tcp_get_timeouts(struct net *net)
{
return tcp_timeouts;
return tcp_pernet(net)->timeouts;
}

/* Returns verdict for packet, or -1 for invalid. */
Expand Down

0 comments on commit be0593c

Please sign in to comment.