drop_monitor: make genl_multicast_group const
authorstephen hemminger <stephen@networkplumber.org>
Wed, 31 Aug 2016 22:15:23 +0000 (15:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 21:09:00 +0000 (14:09 -0700)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c

index d6b3b579560df7220023cae07a0486be77e2b4f1..72cfb0c611254cbe48885e4d3a7b497e91d94fed 100644 (file)
@@ -105,7 +105,7 @@ static struct sk_buff *reset_per_cpu_data(struct per_cpu_dm_data *data)
        return skb;
 }
 
-static struct genl_multicast_group dropmon_mcgrps[] = {
+static const struct genl_multicast_group dropmon_mcgrps[] = {
        { .name = "events", },
 };