diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-14 12:22:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-14 17:03:05 -0700 |
commit | 41135cc836a1abeb12ca1416bdb29e87ad021153 (patch) | |
tree | 01c402f2fb9ac494dc3655a17e92072b170b7c1f /net/ipv6/ip6mr.c | |
parent | 32613090a96dba2ca2cc524c8d4749d3126fdde5 (diff) | |
download | op-kernel-dev-41135cc836a1abeb12ca1416bdb29e87ad021153.zip op-kernel-dev-41135cc836a1abeb12ca1416bdb29e87ad021153.tar.gz |
net: constify struct inet6_protocol
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6mr.c')
-rw-r--r-- | net/ipv6/ip6mr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 5c8d737..3907510 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -83,10 +83,6 @@ static int ip6mr_cache_report(struct net *net, struct sk_buff *pkt, static int ip6mr_fill_mroute(struct sk_buff *skb, struct mfc6_cache *c, struct rtmsg *rtm); static void mroute_clean_tables(struct net *net); -#ifdef CONFIG_IPV6_PIMSM_V2 -static struct inet6_protocol pim6_protocol; -#endif - static struct timer_list ipmr_expire_timer; @@ -410,7 +406,7 @@ static int pim6_rcv(struct sk_buff *skb) return 0; } -static struct inet6_protocol pim6_protocol = { +static const struct inet6_protocol pim6_protocol = { .handler = pim6_rcv, }; |