openwrt/package/kernel/trelay
Ali MJ Al-Nasrawy b17c95bbdc trelay: fix deadlock on remove
Upon writing to "remove" file, debugfs_remove_recursive() blocks while
holding rtnl_lock. This is because debugfs' file_ops callbacks are
executed in debugfs_use_file_*() context which prevents file removal.

Fix this by only flagging the device for removal and then do the cleanup
in file_ops.release callback which is executed out of that context.

Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
(cherry picked from commit c2635b871d)
2019-10-19 14:29:44 +02:00
..
files package: replace ifconfig-usage with ip 2015-09-08 17:44:24 +00:00
src trelay: fix deadlock on remove 2019-10-19 14:29:44 +02:00
Makefile trelay: Install hotplug and config files as 600 2018-09-19 09:41:28 +01:00