lkml.org 
[lkml]   [1997]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: several messages about oops with ifconfig
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
___________________________________________________________________________

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.677 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site