]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched: act: count in the size of action flags bitfield
authorJiri Pirko <jiri@mellanox.com>
Tue, 25 Feb 2020 12:54:12 +0000 (13:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:10:04 +0000 (09:10 +0200)
commit27f0d9bf8d747ab4c38325548ca2d99041de6356
treed441b07fa48fcfcaaf999c6414ea202b84529207
parent758bff91450ef050e4e9f3c25b5cbb3768bcadcc
sched: act: count in the size of action flags bitfield

commit 1521a67e6016664941f0917d50cb20053a8826a2 upstream.

The put of the flags was added by the commit referenced in fixes tag,
however the size of the message was not extended accordingly.

Fix this by adding size of the flags bitfield to the message size.

Fixes: e38226786022 ("net: sched: update action implementations to support flags")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sched/act_api.c