summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-03-25 21:08:16 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-26 03:39:33 +0300
commit2932bcda070d9a02548e57119b1ada8f018c40b5 (patch)
tree094e5c05824095b4bd1a4f8c66aaf7511eecec14 /include/net/netns
parent1c69dedc8fa7c9684d48dc89994b4e0aceeae588 (diff)
downloadlinux-2932bcda070d9a02548e57119b1ada8f018c40b5.tar.xz
inet: convert tcp_early_demux and udp_early_demux to u8
For these sysctls, their dedicated helpers have to use proc_dou8vec_minmax(). Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/ipv4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index d2c0a6592ff6..00f250ee4419 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -107,8 +107,8 @@ struct netns_ipv4 {
#ifdef CONFIG_NET_L3_MASTER_DEV
u8 sysctl_raw_l3mdev_accept;
#endif
- int sysctl_tcp_early_demux;
- int sysctl_udp_early_demux;
+ u8 sysctl_tcp_early_demux;
+ u8 sysctl_udp_early_demux;
u8 sysctl_nexthop_compat_mode;