Skip to content
Permalink
Browse files

Properly initialise the policy array.

  • Loading branch information...
chromi committed May 5, 2017
1 parent 833c87c commit 3ab36e8d8431eb941ceb0608b739fa02a325de88
Showing with 1 addition and 0 deletions.
  1. +1 −0 sch_cake.c
@@ -1370,6 +1370,7 @@ static const struct nla_policy cake_policy[TCA_CAKE_MAX + 1] = {
[TCA_CAKE_ETHERNET] = { .type = NLA_U32 },
[TCA_CAKE_WASH] = { .type = NLA_U32 },
[TCA_CAKE_MPU] = { .type = NLA_U32 },
[TCA_CAKE_INGRESS] = { .type = NLA_U32 },
};

static void cake_set_rate(struct cake_tin_data *b, u64 rate, u32 mtu,

0 comments on commit 3ab36e8

Please sign in to comment.
You can’t perform that action at this time.