Hi,
I got mail from kernelci regarding a null-pointer exception in dsa_slave_create.

I'm sure thats from uninitialized ethernet-option (maybe by missing dts-option).

struct net_device *master = ds->ports[port->upstream].ethernet;

Which is defined in new function dsa_user_parse. maybe a good place for 
fallback using 

dsa_port *cpu_dp = port->cpu_dp;
net_device *master = cpu_dp->master;

Should i implement a fallback? I'm asking because dsa-maintainers want to drop 
dts-option and want to realize it via manual bridging user-port to cpu-port 
instead of defining this connection in devicetree.

Regards Frank

Mit freundlichen Grüßen
Frank Wunderlich

Reply via email to