a6aa8d0ce2
Remove dir in nsim_dev_debugfs_init() when creating ports dir failed.
Otherwise, the netdevsim device will not be created next time. Kernel
reports an error: debugfs: Directory 'netdevsim1' with parent 'netdevsim'
already present!
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
bpf.c | ||
bus.c | ||
dev.c | ||
ethtool.c | ||
fib.c | ||
health.c | ||
hwstats.c | ||
ipsec.c | ||
netdev.c | ||
netdevsim.h | ||
psample.c | ||
udp_tunnels.c |