summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2025-10-30 07:35:39 +0000
committerJakub Kicinski <kuba@kernel.org>2025-10-31 17:42:35 -0700
commitc211f5d7cbd5cb34489d526648bb9c8ecc907dee (patch)
tree55cb4622261e000eb32797728bb358a93cf46e0f /scripts/lib/kdoc/kdoc_parser.py
parentd01f8136d46b925798abcf86b35a4021e4cfb8bb (diff)
net: vlan: sync VLAN features with lower device
After registering a VLAN device and setting its feature flags, we need to synchronize the VLAN features with the lower device. For example, the VLAN device does not have the NETIF_F_LRO flag, it should be synchronized with the lower device based on the NETIF_F_UPPER_DISABLES definition. As the dev->vlan_features has changed, we need to call netdev_update_features(). The caller must run after netdev_upper_dev_link() links the lower devices, so this patch adds the netdev_update_features() call in register_vlan_dev(). Fixes: fd867d51f889 ("net/core: generic support for disabling netdev features down stack") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Link: https://patch.msgid.link/20251030073539.133779-1-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions