On Wed, 12 Jun 2019 14:33:32 -0600, Robert Hancock <hanc...@sedsystems.ca> 
wrote:
> If some of the switch ports were not listed in the device tree, due to
> being unused, the ksz_mib_read_work function ended up accessing a NULL
> dp->slave pointer and causing an oops. Skip checking statistics for any
> unused ports.
> 
> Fixes: 7c6ff470aa867f53 ("net: dsa: microchip: add MIB counter reading
> support")
> Signed-off-by: Robert Hancock <hanc...@sedsystems.ca>

Reviewed-by: Vivien Didelot <vivien.dide...@gmail.com>

Reply via email to