]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 01:10:44 +0000 (17:10 -0800)
commit9d85a6f2a0e796161daea43299cbba88aa5c85e8
tree692edd8f0b0997214f5d945870e357438088cdf4
parent92853a99561766fa7d37c124b897de3a11c43c6f
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: 27ce2748cc42 ("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