32f0e1ae8972cbf4fb71ee36cea36cb3cd503a99
[openwrt/staging/noltari.git] /
1 From b3c424eb6a1a3c485de64619418a471dee6ce849 Mon Sep 17 00:00:00 2001
2 From: Victorien Molle <victorien.molle@wifirst.fr>
3 Date: Mon, 2 Dec 2019 15:11:38 +0100
4 Subject: [PATCH] sch_cake: Add missing NLA policy entry TCA_CAKE_SPLIT_GSO
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This field has never been checked since introduction in mainline kernel
10
11 Signed-off-by: Victorien Molle <victorien.molle@wifirst.fr>
12 Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr>
13 Fixes: 2db6dc2662ba "sch_cake: Make gso-splitting configurable from userspace"
14 Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
15 Signed-off-by: David S. Miller <davem@davemloft.net>
16 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
17 ---
18 net/sched/sch_cake.c | 1 +
19 1 file changed, 1 insertion(+)
20
21 --- a/net/sched/sch_cake.c
22 +++ b/net/sched/sch_cake.c
23 @@ -2180,6 +2180,7 @@ static const struct nla_policy cake_poli
24 [TCA_CAKE_MPU] = { .type = NLA_U32 },
25 [TCA_CAKE_INGRESS] = { .type = NLA_U32 },
26 [TCA_CAKE_ACK_FILTER] = { .type = NLA_U32 },
27 + [TCA_CAKE_SPLIT_GSO] = { .type = NLA_U32 },
28 [TCA_CAKE_FWMARK] = { .type = NLA_U32 },
29 };
30