aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2023-01-27 07:45:06 +0000
committerJakub Kicinski <[email protected]>2023-01-28 08:33:51 +0000
commit70eb3911d80f548a76fb9a40c8a3fd93ac061a42 (patch)
tree1fa5cc3d57c721a5a96926a54dfa6f3e04e2aa8e /drivers/net/ethernet/intel/igc/igc_main.c
parentMerge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf... (diff)
downloadkernel-70eb3911d80f548a76fb9a40c8a3fd93ac061a42.tar.gz
kernel-70eb3911d80f548a76fb9a40c8a3fd93ac061a42.zip
net: netlink: recommend policy range validation
For large ranges (outside of s16) the documentation currently recommends open-coding the validation, but it's better to use the NLA_POLICY_FULL_RANGE() or NLA_POLICY_FULL_RANGE_SIGNED() policy validation instead; recommend that. Signed-off-by: Johannes Berg <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Link: https://lore.kernel.org/r/20230127084506.09f280619d64.I5dece85f06efa8ab0f474ca77df9e26d3553d4ab@changeid Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions