summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2026-05-07 13:59:03 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-08 16:50:26 -0700
commit04bb6595b55a1e262a4a833b065b8a42ddab915c (patch)
tree1699c42b1b6837bbcab194177f1a2036b6ad680e /scripts/stackusage
parentdfc86291d99b1fe513fd0b470592eb4ed58212d5 (diff)
net: Set dev->proto_down before changing carrier state
A subsequent patch will make netif_carrier_on() a NOP for net devices that have protodown turned on so that they will not accidentally gain carrier. As a preparation, set dev->proto_down before calling netif_carrier_{off,on}(). Note that the only driver that supports protodown and has a notion of a carrier is macvlan and it is calling netif_carrier_{off,on}() with RTNL held. No functional changes intended. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260507105906.891817-2-idosch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions