]> 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)
commit8a538e927cced1e52425f9f27d33c5db4f903171
tree692edd8f0b0997214f5d945870e357438088cdf4
parent5f3b4c11d8b0a278456083c37ee2d1ccc5c7bfcb
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: 540a58b4e034 ("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