The current loopback patch from the Linux Virtual Server
does not patch cleanly onto later 2.4.18 kernels. The hidden flag is added
to an interface as the 15th option, and it should be the 16th parameter;
MEDIUM_ID was added as the 15th option in recent kernels.
Make the following modifications to the existing hidden-2.4.5-1.diff
patch prior to patching the kernel source:
1. Change lines 14 through 16 from
- NET_IPV_CONF_ARPFILTER=13
+ NET_IPV_CONF_ARPFILTER=13,
+ NET_IPV4_CONF_HIDDEN=14,
to
NET_IPV4_CONF_ARPFILTER=13,
- NET_IPV4_CONF_MEDIUM_ID=14,
+ NET_IPV4_CONF_MEDIUM_ID=14,
+ NET_IPV4_CONF_HIDDEN=15,
2. Change lines 132 and 133 from
- ctl_table devinet_vars [14];
+ ctl_table devinet_vars [15];
to
- ctl_table devinet_vars [15];
+ ctl_table devinet_vars [16];
Making these two changes allows the existing patch to install cleanly
onto the latest 2.4.18 kernels.
|