diff options
author | Daiane Angolini <daiane.angolini@foundries.io> | 2022-10-05 13:12:58 -0300 |
---|---|---|
committer | Daiane Angolini <daiane.angolini@foundries.io> | 2022-10-05 13:12:58 -0300 |
commit | 647349ddd965581cfe15669eefb09931e6269694 (patch) | |
tree | 7a97a9005bbb9992ea57e090e1391129ccb83291 /net/netfilter/nf_synproxy_core.c | |
parent | 8c8464177402c32a21546530426e4995ab21c510 (diff) | |
parent | 7d8048d4e064d4ef7719e9520f6c123c051fca99 (diff) |
Merge tag 'v5.15.58' into 5.15-2.1.x-imx
This is the 5.15.58 stable release
Conflicts:
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Diffstat (limited to 'net/netfilter/nf_synproxy_core.c')
-rw-r--r-- | net/netfilter/nf_synproxy_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_synproxy_core.c b/net/netfilter/nf_synproxy_core.c index 2dfc5dae0656..049a88f03801 100644 --- a/net/netfilter/nf_synproxy_core.c +++ b/net/netfilter/nf_synproxy_core.c @@ -427,7 +427,7 @@ synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, iph->tos = 0; iph->id = 0; iph->frag_off = htons(IP_DF); - iph->ttl = net->ipv4.sysctl_ip_default_ttl; + iph->ttl = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); iph->protocol = IPPROTO_TCP; iph->check = 0; iph->saddr = saddr; |