diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-28 13:12:42 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-28 13:12:42 +0000 |
commit | d8c154a29d5c2b595eac45b9b3f30c0e1ed47dc4 (patch) | |
tree | cbcde9eb3ec5359caf50073362ae9b5d4139e9a1 /BSDmakefile | |
parent | 32d54de3b9460fb87b6743d1b3386f8c5e0873b1 (diff) | |
download | upstream-d8c154a29d5c2b595eac45b9b3f30c0e1ed47dc4.tar.gz upstream-d8c154a29d5c2b595eac45b9b3f30c0e1ed47dc4.tar.bz2 upstream-d8c154a29d5c2b595eac45b9b3f30c0e1ed47dc4.zip |
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.
SVN-Revision: 38248
Diffstat (limited to 'BSDmakefile')
0 files changed, 0 insertions, 0 deletions