aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <[email protected]>2024-07-13 02:19:02 +0000
committerJakub Kicinski <[email protected]>2024-07-15 09:14:38 -0700
commit0e83a7875d691f5b76c87d9223b22e5a0d34511e (patch)
tree5e1963607a5b86c062408cd999c5420f501ee200 /lib/memory-notifier-error-inject.c
parentfcb4bb07a9276bfb63c82ce5e8c4f8ff23646635 (diff)
net/sched: cls_flower: add policy for TCA_FLOWER_KEY_FLAGS
This policy guards fl_set_key_flags() from seeing flags not used in the context of TCA_FLOWER_KEY_FLAGS. In order For the policy check to be performed with the correct endianness, then we also needs to change the attribute type to NLA_BE32 (Thanks Davide). TCA_FLOWER_KEY_FLAGS{,_MASK} already has a be32 comment in include/uapi/linux/pkt_cls.h. Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]> Tested-by: Davide Caratti <[email protected]> Reviewed-by: Davide Caratti <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions