summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_socket.c
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <volodymyr.mytnyk@plvision.eu>2022-04-27 14:09:00 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-04-27 15:48:49 +0200
commit626873c446f7559d5af8b48cefad903ffd85cf4e (patch)
treed5f51a3fecc0638719ec787ca40256d18a84c2a1 /net/netfilter/nft_socket.c
parentc7aab4f17021b636a0ee75bcf28e06fb7c94ab48 (diff)
downloadlinux-626873c446f7559d5af8b48cefad903ffd85cf4e.tar.gz
linux-626873c446f7559d5af8b48cefad903ffd85cf4e.tar.bz2
linux-626873c446f7559d5af8b48cefad903ffd85cf4e.zip
netfilter: conntrack: fix udp offload timeout sysctl
`nf_flowtable_udp_timeout` sysctl option is available only if CONFIG_NFT_FLOW_OFFLOAD enabled. But infra for this flow offload UDP timeout was added under CONFIG_NF_FLOW_TABLE config option. So, if you have CONFIG_NFT_FLOW_OFFLOAD disabled and CONFIG_NF_FLOW_TABLE enabled, the `nf_flowtable_udp_timeout` is not present in sysfs. Please note, that TCP flow offload timeout sysctl option is present even CONFIG_NFT_FLOW_OFFLOAD is disabled. I suppose it was a typo in commit that adds UDP flow offload timeout and CONFIG_NF_FLOW_TABLE should be used instead. Fixes: 975c57504da1 ("netfilter: conntrack: Introduce udp offload timeout configuration") Signed-off-by: Volodymyr Mytnyk <volodymyr.mytnyk@plvision.eu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_socket.c')
0 files changed, 0 insertions, 0 deletions