On Mon, Aug 23, 2021 at 09:02:39PM +0300, Vladimir Oltean wrote:
This series addresses some oddities reported by Alvin while he was
working on the new rtl8365mb driver (a driver which does not implement
bridge offloading for now, and relies on software bridging).
I will resubmit for 3 reasons:
- I left an unused variable:
https://patchwork.hopto.org/static/nipa/536059/12453371/build_32bit/stderr
- After wrapping up the testing with unoffloaded bridge ports I got a
kernel panic when rebooting the board. This is because in
dsa_port_pre_bridge_leave we call switchdev_bridge_port_unoffload on a
NULL brport_dev. We must only call switchdev_bridge_port_unoffload if
dp->bridge_dev is not NULL.
- I need to correct this phrase in the commit message of patch 2:
| In turn, having dp->bridge_dev = NULL makes the following things go wrong:
~~~
!= NULL