aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-07-10 15:16:53 +0000
committerJakub Kicinski <[email protected]>2024-07-11 17:13:58 -0700
commitcef4902b0fadfc4181176ef5713f0b7cf2a40d8f (patch)
tree05b9cc1dd265e2c35070b570e13b5cfcd6044958 /drivers/usb/cdns3/cdns3-debug.h
parentb07593edd2faf310f9b758896f4f1c6054515be4 (diff)
net: reduce rtnetlink_rcv_msg() stack usage
IFLA_MAX is increasing slowly but surely. Some compilers use more than 512 bytes of stack in rtnetlink_rcv_msg() because it calls rtnl_calcit() for RTM_GETLINK message. Use noinline_for_stack attribute to not inline rtnl_calcit(), and directly use nla_for_each_attr_type() (Jakub suggestion) because we only care about IFLA_EXT_MASK at this stage. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions