mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
netfilter: nf_ct_tcp: missing per-net support for cttimeout
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>
This commit is contained in:
parent
08911475d1
commit
be0593c678
@ -821,7 +821,7 @@ static int tcp_error(struct net *net, struct nf_conn *tmpl,
|
|||||||
|
|
||||||
static unsigned int *tcp_get_timeouts(struct net *net)
|
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. */
|
/* Returns verdict for packet, or -1 for invalid. */
|
||||||
|
Loading…
Reference in New Issue
Block a user