]> git.neil.brown.name Git - history.git/commitdiff
Linux 2.2.15pre17 2.2.15pre17
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 23 Nov 2007 20:21:07 +0000 (15:21 -0500)
committerAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 23 Nov 2007 20:21:07 +0000 (15:21 -0500)
o Revert the alpha FPU misfix (Richard Henderson)
o Really apply the typo fix this time (Barry K. Nathan)
o Fix ISDN symbol collision (Arjan Van de Ven)
o Loose UDP masquerade is now configurable so
security concious users can disable it and game
freaks turn it on (Nigel Metheringham)

Documentation/Configure.help
Makefile
arch/alpha/kernel/traps.c
drivers/isdn/avmb1/b1dma.c
drivers/isdn/avmb1/c4.c
net/ipv4/Config.in
net/ipv4/ip_masq.c

index 5a7885a7b279b4e7fabff95740b0393fa1d82dc2..bcd5a903df5b657c66f158fc894de838c3e88a69 100644 (file)
@@ -2550,6 +2550,20 @@ CONFIG_IP_MASQUERADE
   kernel whenever you want; read Documentation/modules.txt for
   details.
 
+IP: UDP masquerading loose checking
+CONFIG_IP_MASQUERADE_UDP_LOOSE
+  Whether UDP masquerading does address checking in a loose fashion.
+
+  If you say Y here, then UDP masqueraded connections will allow
+  any external system to be connect back through the firewall to the
+  port on the internal machine.  However it will allow the more
+  efficient use of masqueraded ports, and may be required for some
+  gaming uses.
+
+  You should only say Y here if you understand the consequences since
+  it will open your internal network to external probing and potential
+  attacks.  In all other cases choose N
+
 IP: ICMP masquerading
 CONFIG_IP_MASQUERADE_ICMP
   The basic masquerade code described for "IP: masquerading" above
@@ -6549,8 +6563,8 @@ CONFIG_DEC_ELCP_OLD
 
   This driver is also available as a module ( = code which can be
   inserted in and removed from the running kernel whenever you want).
-  The module will be called tulip.o. If you want to compile it as a
-  module, say M here and read Documentation/modules.txt as well as
+  The module will be called old_tulip.o. If you want to compile it as
+  module, say M here and read Documentation/modules.txt as well as
   Documentation/networking/net-modules.txt.
 
 Digi Intl. RightSwitch support
index bfb55ec2e7e636125c571696f821d543c42d3843..2d6eb92e5cafa2f9e535c0d53faacf835d8e0055 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 2
 SUBLEVEL = 15
-EXTRAVERSION = pre16
+EXTRAVERSION = pre17
 
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
 
index 15395d2b6c53bb43bef9ff643e4ac458eb56901c..03225a5d6ae628ab760a2e046ab850c4c8ddf5ff 100644 (file)
@@ -417,13 +417,8 @@ do_entIF(unsigned long type, unsigned long a1,
                        /* EV4 does not implement anything except normal
                           rounding.  Everything else will come here as
                           an illegal instruction.  Emulate them.  */
-                       if (alpha_fp_emul(regs.pc))
-                       {
-                               /* Increment the PC so that the program in
-                                  user space continues */
-                               regs.pc += 4;
+                       if (alpha_fp_emul(regs.pc - 4))
                                return;
-                       }
                }
                send_sig(SIGILL, current, 1);
                break;
index d61b883752a0a312aaa59700ae9065ea46e0b225..1785e174021287322735835495f77c24efdd884f 100644 (file)
@@ -40,7 +40,7 @@ static char *revision = "$Revision: 1.3 $";
 
 MODULE_AUTHOR("Carsten Paeth <calle@calle.in-berlin.de>");
 
-int suppress_pollack = 0;
+static int suppress_pollack = 0;
 MODULE_PARM(suppress_pollack, "0-1i");
 
 /* ------------------------------------------------------------- */
index 05218333a451bc9b372698c55e4e22b96c7702a9..7e4f1f1c3da85b8e75a628d19791b5a91cc37c81 100644 (file)
@@ -68,7 +68,7 @@ static char *revision = "$Revision: 1.5 $";
 
 /* ------------------------------------------------------------- */
 
-int suppress_pollack = 0;
+static int suppress_pollack = 0;
 
 MODULE_AUTHOR("Carsten Paeth <calle@calle.in-berlin.de>");
 
index 8982bc1e971a792a9bd9e50b7b50939d698f9507..eb4fd90084ec08154369465dcf913374e52cf897 100644 (file)
@@ -41,6 +41,7 @@ if [ "$CONFIG_IP_FIREWALL" = "y" ]; then
     bool 'IP: masquerading' CONFIG_IP_MASQUERADE
     if [ "$CONFIG_IP_MASQUERADE" != "n" ]; then
       comment 'Protocol-specific masquerading support will be built as modules.'
+      bool 'IP: UDP masquerading loose checking' CONFIG_IP_MASQUERADE_UDP_LOOSE
       bool 'IP: ICMP masquerading' CONFIG_IP_MASQUERADE_ICMP
       comment 'Protocol-specific masquerading support will be built as modules.'
       if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
index 8f00409ff40ece24c411d9dfa5daf495537ceba4..df8186cc676830692a6e1c270be95d090ee9c466 100644 (file)
@@ -411,12 +411,6 @@ struct ip_fw_masq *ip_masq_expire = &ip_masq_dummy;
 #define MASQ_DADDR_PASS        (IP_MASQ_F_NO_DADDR|IP_MASQ_F_DLOOSE)
 #define MASQ_DPORT_PASS        (IP_MASQ_F_NO_DPORT|IP_MASQ_F_DLOOSE)
 
-/*
- *     By default enable dest loose semantics
- */
-#define CONFIG_IP_MASQ_LOOSE_DEFAULT 1
-
-
 /*
  *     Set masq expiration (deletion) and adds timer,
  *     if timeout==0 cancel expiration.
@@ -937,7 +931,7 @@ struct ip_masq * ip_masq_new(int proto, __u32 maddr, __u16 mport, __u32 saddr, _
        atomic_set(&ms->refcnt,0);
 
         if (proto == IPPROTO_UDP && !mport)
-#ifdef CONFIG_IP_MASQ_LOOSE_DEFAULT
+#ifdef CONFIG_IP_MASQUERADE_UDP_LOOSE
                /*
                 *      Flag this tunnel as "dest loose"
                 *