Re: netdevice.h micro patch

David Woodhouse (David.Woodhouse@mvhi.com)
Thu, 18 Feb 1999 13:31:47 +0000


frankb@ipf.de said:
> MAX_HEADER is set dependent on definition of used network features.
> It's set too small if you define IPIP as a module, because
> CONFIG_NET_IPIP is undef'ed in autoconf.h and only
> CONF_NET_IPIP_MODULE has a value of 1. I don't even know if that
> causes any problem.

Whenever possible, the kernel shouldn't depend on _MODULE config options, in
order to allow you to compile new modules without having to recompile the
kernel. Unless the overhead is prohibitive, I'd suggest just turning into
#if 1


---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
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/