Skip to content

Commit

Permalink
Properly initialise the policy array.
Browse files Browse the repository at this point in the history
  • Loading branch information
chromi committed May 5, 2017
1 parent 833c87c commit 3ab36e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sch_cake.c
Expand Up @@ -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,
Expand Down

0 comments on commit 3ab36e8

Please sign in to comment.