forked from Minki/linux
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:
|
||
---|---|---|
.. | ||
bpf.c | ||
bus.c | ||
dev.c | ||
ethtool.c | ||
fib.c | ||
health.c | ||
hwstats.c | ||
ipsec.c | ||
Makefile | ||
netdev.c | ||
netdevsim.h | ||
psample.c | ||
udp_tunnels.c |