aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-03-16 22:02:34 +0000
committerJakub Kicinski <[email protected]>2023-03-17 04:33:08 +0000
commit769639c1fe8a98129aa97c8ee981639db1e8955c (patch)
tree3ba4eecfced473a56b0a1738b9f09d26e0def3ab /fs/proc/array.c
parentMerge branch 'net-sched-fix-parsing-of-tca_ext_warn_msg-for-tc-action' (diff)
downloadkernel-769639c1fe8a98129aa97c8ee981639db1e8955c.tar.gz
kernel-769639c1fe8a98129aa97c8ee981639db1e8955c.zip
net: xdp: don't call notifiers during driver init
Drivers will commonly perform feature setting during init, if they use the xdp_set_features_flag() helper they'll likely run into an ASSERT_RTNL() inside call_netdevice_notifiers_info(). Don't call the notifier until the device is actually registered. Nothing should be tracking the device until its registered and after its unregistration has started. Fixes: 4d5ab0ad964d ("net/mlx5e: take into account device reconfiguration for xdp_features flag") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions