Re: several messages about oops with ifconfig

Nicholas J. Leon (nicholas@binary9.net)
Fri, 19 Dec 1997 11:13:37 -0500 (EST)


Apparently, without using the following patch, 2.1.73 oops when
configuring the loopback interface when you have IP firewalling enabled.

Gordon Chaffee supplied the patch.

--- linux-2.1.73-clean/net/ipv4/ip_fw.c Tue Dec 2 23:40:17 1997
+++ linux/net/ipv4/ip_fw.c Fri Dec 19 01:15:23 1997
@@ -152,9 +152,12 @@
struct ip_fw *ip_fw_in_chain;
struct ip_fw *ip_fw_out_chain;
struct ip_fw *ip_acct_chain;
+struct ip_fw *ip_masq_chain;

static struct ip_fw **chains[] =
- {&ip_fw_fwd_chain, &ip_fw_in_chain, &ip_fw_out_chain, &ip_acct_chain};
+ {&ip_fw_fwd_chain, &ip_fw_in_chain, &ip_fw_out_chain, &ip_acct_chain,
+ &ip_masq_chain
+ };
#endif /* CONFIG_IP_ACCT || CONFIG_IP_FIREWALL */

#ifdef CONFIG_IP_FIREWALL


___________________________________________________________________________

simple is elegant nicholas@binary9.net
___________________________________________________________________________