summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-08-10 18:24:40 +0000
committerSven Wegener <sven.wegener@stealer.net>2008-08-11 11:46:27 +0200
commit5587da55fbf332ab8d1b37637536f94bc373867f (patch)
tree438cb4cd638a0c8f8f70100567407deafabb1388 /net
parent048cf48b897bcae9e6fa8b46b6976dab5e710e3c (diff)
downloadlinux-5587da55fbf332ab8d1b37637536f94bc373867f.tar.gz
linux-5587da55fbf332ab8d1b37637536f94bc373867f.tar.bz2
linux-5587da55fbf332ab8d1b37637536f94bc373867f.zip
ipvs: Mark net_vs_ctl_path const
Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Acked-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/ipvs/ip_vs_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index df13333813ad..999d884e8862 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -1589,7 +1589,7 @@ static struct ctl_table vs_vars[] = {
{ .ctl_name = 0 }
};
-struct ctl_path net_vs_ctl_path[] = {
+const struct ctl_path net_vs_ctl_path[] = {
{ .procname = "net", .ctl_name = CTL_NET, },
{ .procname = "ipv4", .ctl_name = NET_IPV4, },
{ .procname = "vs", },