Files
linux/net
Davide Caratti 9e670e5486 net/sched: flower: add missing validation of TCA_FLOWER_FLAGS
[ Upstream commit e2debf0852 ]

unlike other classifiers that can be offloaded (i.e. users can set flags
like 'skip_hw' and 'skip_sw'), 'cls_flower' doesn't validate the size of
netlink attribute 'TCA_FLOWER_FLAGS' provided by user: add a proper entry
to fl_policy.

Fixes: 5b33f48842 ("net/flower: Introduce hardware offload support")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 17:00:04 +09:00
..
2023-05-15 12:38:05 +09:00
2023-05-15 16:07:59 +09:00
2023-05-15 14:29:05 +09:00
2023-05-15 13:49:35 +09:00
2016-10-20 11:23:08 -04:00
2023-05-15 12:05:35 +09:00
2023-05-15 15:17:38 +09:00
2023-05-15 16:48:22 +09:00
2023-05-15 14:29:05 +09:00
2023-05-15 10:49:15 +09:00
2016-08-17 19:36:23 -04:00
2023-05-15 16:34:23 +09:00