mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 03:08:34 +07:00
bfcccfe78b
Looks like the port adding loop makes a re-appearance on net-next
after net was merged back into it (even though it doesn't feature
in the merge diff).
The ports are already added in nsim_dev_create() so when we try
to add them again get EEXIST, and see:
netdevsim: probe of netdevsim0 failed with error -17
in the logs. When we remove the loop again the nsim_dev_probe()
and nsim_dev_remove() become a wrapper of nsim_dev_create() and
nsim_dev_destroy(). Remove this layer of indirection.
Fixes:
|
||
---|---|---|
.. | ||
bpf.c | ||
bus.c | ||
dev.c | ||
fib.c | ||
health.c | ||
ipsec.c | ||
Makefile | ||
netdev.c | ||
netdevsim.h | ||
sdev.c |