Hi all, This patch series is to resolve a sleeping function called in atomic context debug splat that we observe with DSA.
Let me know what you think, I was also wondering if we should just always make switchdev_port_vlan_fill() set SWITCHDEV_F_DEFER, but was afraid this could cause invalid contexts to be used for rocker, mlxsw, i40e etc. Changes in v2: - Make patch 3 actually build, thanks to Marcelo for reporting the problem Thanks! Florian Fainelli (4): net: switchdev: Prepare for deferred functions modifying objects net: switchdev: Add object dump deferred operation net: switchdev: Add switchdev_port_bridge_getlink_deferred net: dsa: Utilize switchdev_port_bridge_getlink_deferred() include/net/switchdev.h | 3 + net/dsa/slave.c | 2 +- net/switchdev/switchdev.c | 171 +++++++++++++++++++++++++++++++++++++--------- 3 files changed, 141 insertions(+), 35 deletions(-) -- 2.9.3