public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* tcp_hashinfo exported or not?
@ 2002-08-28  3:00 Shaya Potter
  2002-08-28  3:42 ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Shaya Potter @ 2002-08-28  3:00 UTC (permalink / raw)
  To: linux-kernel

I'm having some slight issues with using tcp_hashinfo in 2.4.19.  It
appears to be exported (net/netsyms.c), appears in the System.map
generated, but when I try to load a module that makes use of it, insmod
claims it isn't there (and isn't listed in /proc/ksyms either,
explaining why insmod complains).

Is there any voodoo that I have to do to make use of this symbol in a
module?

thanks,

shaya




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tcp_hashinfo exported or not?
  2002-08-28  3:00 tcp_hashinfo exported or not? Shaya Potter
@ 2002-08-28  3:42 ` David S. Miller
  2002-08-28 22:09   ` Chris Wedgwood
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2002-08-28  3:42 UTC (permalink / raw)
  To: spotter; +Cc: linux-kernel


It's only exported when IPV6 is enabled as a module.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tcp_hashinfo exported or not?
  2002-08-28  3:42 ` David S. Miller
@ 2002-08-28 22:09   ` Chris Wedgwood
  2002-08-29  4:04     ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Wedgwood @ 2002-08-28 22:09 UTC (permalink / raw)
  To: David S. Miller; +Cc: spotter, linux-kernel

On Tue, Aug 27, 2002 at 08:42:59PM -0700, David S. Miller wrote:

    It's only exported when IPV6 is enabled as a module.

Conditionally exporting symbols based upon CONFIG_* is a PITA.  Do we
really need to do this and will you accept a patch making go away?

It's nice to be able to build a module outside of the kernel source
and not have to rebuild the kernel to get access to symbols.



  --cw

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tcp_hashinfo exported or not?
  2002-08-28 22:09   ` Chris Wedgwood
@ 2002-08-29  4:04     ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2002-08-29  4:04 UTC (permalink / raw)
  To: cw; +Cc: spotter, linux-kernel

   From: Chris Wedgwood <cw@f00f.org>
   Date: Wed, 28 Aug 2002 15:09:35 -0700

   Conditionally exporting symbols based upon CONFIG_* is a PITA.  Do we
   really need to do this and will you accept a patch making go away?
   
Nobody else should need to get at the TCP hash tables.

Are you trying to work on a proprietary binary-only implementation of
Linux IPv6 TCP :-)

Franks a lot,
David S. Miller
davem@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-29  4:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-28  3:00 tcp_hashinfo exported or not? Shaya Potter
2002-08-28  3:42 ` David S. Miller
2002-08-28 22:09   ` Chris Wedgwood
2002-08-29  4:04     ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox