[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200116164300.6705-188-sashal@kernel.org>
Date: Thu, 16 Jan 2020 11:42:43 -0500
From: Sasha Levin <sashal@...nel.org>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
Cc: Victorien Molle <victorien.molle@...irst.fr>,
Florent Fourcot <florent.fourcot@...irst.fr>,
Toke Høiland-Jørgensen <toke@...hat.com>,
"David S . Miller" <davem@...emloft.net>,
Sasha Levin <sashal@...nel.org>, cake@...ts.bufferbloat.net,
netdev@...r.kernel.org
Subject: [PATCH AUTOSEL 5.4 188/205] sch_cake: Add missing NLA policy entry TCA_CAKE_SPLIT_GSO
From: Victorien Molle <victorien.molle@...irst.fr>
[ Upstream commit b3c424eb6a1a3c485de64619418a471dee6ce849 ]
This field has never been checked since introduction in mainline kernel
Signed-off-by: Victorien Molle <victorien.molle@...irst.fr>
Signed-off-by: Florent Fourcot <florent.fourcot@...irst.fr>
Fixes: 2db6dc2662ba "sch_cake: Make gso-splitting configurable from userspace"
Acked-by: Toke Høiland-Jørgensen <toke@...hat.com>
Signed-off-by: David S. Miller <davem@...emloft.net>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
net/sched/sch_cake.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/sched/sch_cake.c b/net/sched/sch_cake.c
index dd0e8680b030..2277369feae5 100644
--- a/net/sched/sch_cake.c
+++ b/net/sched/sch_cake.c
@@ -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 },
};
--
2.20.1
Powered by blists - more mailing lists