public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IPv4 NAT doesn't compile in 2.4.4
@ 2001-04-28 16:25 Russell King
  2001-04-28 21:07 ` David S. Miller
  2001-05-02  4:57 ` Rusty Russell
  0 siblings, 2 replies; 5+ messages in thread
From: Russell King @ 2001-04-28 16:25 UTC (permalink / raw)
  To: linux-kernel

net/network.o: In function `init_or_cleanup':
net/network.o(.text+0x4a530): relocation truncated to fit: R_ARM_PC24 ip_nat_cleanup

says it all.

ip_nat_standalone.c:

static int init_or_cleanup(int init)
{
...
 cleanup_nat:
        ip_nat_cleanup();
...
}

ip_nat_core:

void __exit ip_nat_cleanup(void)
{
        ip_ct_selective_cleanup(&clean_nat, NULL);
        ip_conntrack_destroyed = NULL;
}

*Don't* do this - its fundamentally wrong.  Code in the kernel should _not_
reference code that has been removed by the linker.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


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

end of thread, other threads:[~2001-05-02  6:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-28 16:25 IPv4 NAT doesn't compile in 2.4.4 Russell King
2001-04-28 21:07 ` David S. Miller
2001-04-28 21:21   ` Russell King
2001-04-28 21:24     ` David S. Miller
2001-05-02  4:57 ` Rusty Russell

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