sch_cake: Add missing NLA policy entry TCA_CAKE_SPLIT_GSO
authorVictorien Molle <victorien.molle@wifirst.fr>
Mon, 2 Dec 2019 14:11:38 +0000 (15:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Dec 2019 20:33:00 +0000 (12:33 -0800)
This field has never been checked since introduction in mainline kernel

Signed-off-by: Victorien Molle <victorien.molle@wifirst.fr>
Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr>
Fixes: 2db6dc2662ba "sch_cake: Make gso-splitting configurable from userspace"
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cake.c

index 53a80bc6b13a10cd0f3826b5c87a4e8baf5ccfd5..e0f40400f679c2ae40aecd43c2a4118fab515505 100644 (file)
@@ -2184,6 +2184,7 @@ static const struct nla_policy cake_policy[TCA_CAKE_MAX + 1] = {
        [TCA_CAKE_MPU]           = { .type = NLA_U32 },
        [TCA_CAKE_INGRESS]       = { .type = NLA_U32 },
        [TCA_CAKE_ACK_FILTER]    = { .type = NLA_U32 },
+       [TCA_CAKE_SPLIT_GSO]     = { .type = NLA_U32 },
        [TCA_CAKE_FWMARK]        = { .type = NLA_U32 },
 };