aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2022-09-05 10:09:37 +0000
committerDavid S. Miller <[email protected]>2022-09-07 11:33:44 +0000
commite7af210e6dd0de633d3f4850383310cf57473bc8 (patch)
tree98c5caf15be26c3223112d743687ef49bdd37e06 /drivers/usb/cdns3/cdns3-plat.c
parentnetlink: introduce NLA_POLICY_MAX_BE (diff)
downloadkernel-e7af210e6dd0de633d3f4850383310cf57473bc8.tar.gz
kernel-e7af210e6dd0de633d3f4850383310cf57473bc8.zip
netfilter: nft_payload: reject out-of-range attributes via policy
Now that nla_policy allows range checks for bigendian data make use of this to reject such attributes. At this time, reject happens later from the init or select_ops callbacks, but its prone to errors. In the future, new attributes can be handled via NLA_POLICY_MAX_BE and exiting ones can be converted one by one. Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions