OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 01:10:44 +0000 (17:10 -0800)
commit1521a67e6016664941f0917d50cb20053a8826a2
tree692edd8f0b0997214f5d945870e357438088cdf4
parent2eb51c75dcb354f8aef03d7648318b24630632e1
sched: act: count in the size of action flags bitfield

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>
net/sched/act_api.c