2.2.0-pre4: ipv6 module exports all symbols

Martijn van Oosterhout (v3100411@student.anu.edu.au)
Sun, 10 Jan 1999 02:47:05 +1100


root//>cat </proc/ksyms | fgrep '[ipv6]' |wc -l
178

It exports 178 symbols! I grepped the kernel source
and only one other file in the whole kernel needs
it: net/ipv4/ip_gre.c needs ipv6_addr_type(), but
only if ipv6 is built into the kernel.

I suggest a register_symtab(NULL) somewhere in the
module loading in af_ipv6.c.

----------------------------------------------------
This brings up an interesting point, ip_gre only has
ipv6 support if ipv6 is built into the kernel. It would
work if they were both modules. Obviously this is not
a problem or someone would've complained.

No doubt this is sceduled to be fixed along with all
the other tunneling code.
----------------------------------------------------
Also, I noticed that I couldn't share modules between
different 2.2.0pre? Even though the symbols were mangled
the same, it still disagreed about the kernel version.
Just upgraded from modutils 2.1.85 to 2.1.121 so maybe
this is fixed.

Hope this helps...
(I wonder if the release of 2.2 will make it into the newspaper...)

Martijn van Oosterhout

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/