aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2024-03-11 16:23:04 +0000
committerJakub Kicinski <[email protected]>2024-03-12 03:35:20 +0000
commitdc5e0141ff19439bfe8d54fce6d6b834bdf1efe0 (patch)
tree976dabc449949a2d5b2fcca620f820c6ffed4995 /drivers/net/ethernet/intel/igc
parentMerge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf... (diff)
downloadkernel-dc5e0141ff19439bfe8d54fce6d6b834bdf1efe0.tar.gz
kernel-dc5e0141ff19439bfe8d54fce6d6b834bdf1efe0.zip
nexthop: Only parse NHA_OP_FLAGS for get messages that require it
The attribute is parsed into 'op_flags' in nh_valid_get_del_req() which is called from the handlers of three message types: RTM_DELNEXTHOP, RTM_GETNEXTHOPBUCKET and RTM_GETNEXTHOP. The attribute is only used by the latter and rejected by the policies of the other two. Pass 'op_flags' as NULL from the handlers of the other two and only parse the attribute when the argument is not NULL. This is a preparation for a subsequent patch. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions