summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-03-25 21:08:15 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-26 03:39:33 +0300
commit1c69dedc8fa7c9684d48dc89994b4e0aceeae588 (patch)
tree0b82312ce92842e73255351138858a3aa57139f1 /include
parent4b6bbf17d4e1939afa72821879fc033d725e9491 (diff)
downloadlinux-1c69dedc8fa7c9684d48dc89994b4e0aceeae588.tar.xz
ipv4: convert ip_forward_update_priority sysctl to u8
This sysctl uses ip_fwd_update_priority() helper, so the conversion needs to change it. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index 7b572d468fde..d2c0a6592ff6 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -98,7 +98,7 @@ struct netns_ipv4 {
u8 sysctl_ip_default_ttl;
u8 sysctl_ip_no_pmtu_disc;
u8 sysctl_ip_fwd_use_pmtu;
- int sysctl_ip_fwd_update_priority;
+ u8 sysctl_ip_fwd_update_priority;
u8 sysctl_ip_nonlocal_bind;
u8 sysctl_ip_autobind_reuse;
/* Shall we try to damage output packets if routing dev changes? */