Re: [PATCH v4 07/16] net: dsa: Fix segmentation fault if master fails to probe

2022-05-18 Thread Vladimir Oltean
On Thu, May 05, 2022 at 01:11:36PM -0400, Sean Anderson wrote: > If the DSA master fails to probe for whatever reason, then DSA devices > will continue on as if nothing is wrong. This can cause incorrect > behavior. In particular, on sandbox, dsa_sandbox_probe attempts to > access the master's priv

[PATCH v4 07/16] net: dsa: Fix segmentation fault if master fails to probe

2022-05-05 Thread Sean Anderson
If the DSA master fails to probe for whatever reason, then DSA devices will continue on as if nothing is wrong. This can cause incorrect behavior. In particular, on sandbox, dsa_sandbox_probe attempts to access the master's private data. This is only safe to do if the master has been probed first.