From: Yousong Zhou Date: Fri, 13 Jan 2017 17:00:34 +0000 (+0800) Subject: kmodloader: add module alias awareness X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=commitdiff_plain;h=6e3c6dcf922e30282d2c49a643253e58fffab362;hp=6e3c6dcf922e30282d2c49a643253e58fffab362 kmodloader: add module alias awareness To achieve this, the following changes are made - scan module folders before scaning loaded modules - struct module was splited into struct module_node for the avl tree and struct module for storing actual info about modules The other minor fix is that module.opts is now freed in free_modules() when appliable Signed-off-by: Yousong Zhou ---