Hi!
From: Vladimir Oltean vladimir.oltean@nxp.com
[ Upstream commit 18cdd2f0998a4967b1fff4c43ed9aef049e42c39 ]
Since the writer-side lock is taken here, we do not need to open an RCU read-side critical section, instead we can use rtnl_dereference() to tell lockdep we are serialized with concurrent writes.
This is cleanup, not a bugfix. We should not have it in 5.10.
Best regards, Pavel