From: Florian Fainelli <f.faine...@gmail.com> Date: Mon, 28 Aug 2017 17:10:51 -0700
> If we do not have a master network device attached dst->cpu_dp will be > NULL and accessing cpu_dp->netdev will create a trace similar to the one > below. The correct check is on dst->cpu_dp period. ... > Reported-by: Dan Carpenter <dan.carpen...@oracle.com> > Fixes: 6d3c8c0dd88a ("net: dsa: Remove master_netdev and use > dst->cpu_dp->netdev") > Signed-off-by: Florian Fainelli <f.faine...@gmail.com> Applied, thanks Florian.