On Mon, Sep 21, 2020 at 10:56:07PM +0300, Vladimir Oltean wrote: > On Mon, Sep 21, 2020 at 12:44:43PM -0700, Florian Fainelli wrote: > > Vladimir, let me know if you have a patch for DSA and I can give it a > > try quickly. Thanks! > > Let me clean it up a little and send it, I need to export a wrapper over > br_get_pvid() for external use, called under rcu_read_lock(). Here it is as an attached patch, sorry that it can't be simpler than that. Please call the function from where you need it, and then submit it yourself to net-next. Also, you'll notice a lockdep warning when you test it. That's what the br_vlan_get_pvid_rcu() fix I've just sent is for. Make sure you also take that. Thanks, -Vladimir