diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-28 13:12:42 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-28 13:12:42 +0000 |
commit | 813e10860e724c86661fc78a91824d366eaeb2e4 (patch) | |
tree | eade5f0e002f8ffe422176489bb6529d8f0cb7b6 /package/kernel/avila-wdt/Makefile | |
parent | a8b90b3e1da79bf8859e670b308bc828a337a9e1 (diff) |
ubox: fix kmod loading for modules with varying dashes & underscores in names (#14182, #14189)
Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".
This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38248 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/avila-wdt/Makefile')
0 files changed, 0 insertions, 0 deletions