Little saving PATCH

Marcin Dalecki (dalecki@sub994.sub.uni-goettingen.de)
Tue, 27 May 1997 11:49:43 +0200 (MET DST)


OK here it goes...

The following (minimalistic) patch will give You 1.5kByte's on x86 for
free!! (In case the networking code is disabled...)
Please include it into the next official kernel release.

diff -urN linux-2.1.40/net/core/Makefile linux/net/core/Makefile
--- linux-2.1.40/net/core/Makefile Tue Apr 8 11:01:24 1997
+++ linux/net/core/Makefile Tue May 27 11:04:46 1997
@@ -9,8 +9,7 @@

O_TARGET := core.o

-O_OBJS := sock.o skbuff.o iovec.o datagram.o dst.o scm.o \
- neighbour.o
+O_OBJS := sock.o skbuff.o iovec.o datagram.o scm.o

ifeq ($(CONFIG_SYSCTL),y)
O_OBJS += sysctl_net_core.o
@@ -18,7 +17,7 @@

ifdef CONFIG_NET

-O_OBJS += dev.o dev_mcast.o
+O_OBJS += dev.o dev_mcast.o neighbour.o

ifdef CONFIG_FIREWALL
OX_OBJS += firewall.o

End of the story about bloat ;-)

Thank's in advance

Marcin