]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
added series file and a 2.6.15 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Jan 2006 23:54:47 +0000 (15:54 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Jan 2006 23:54:47 +0000 (15:54 -0800)
queue-2.6.14/series [new file with mode: 0644]
queue/bridge-fix-faulty-check-in-br_stp_recalculate_bridge_id.patch [new file with mode: 0644]
queue/series [new file with mode: 0644]

diff --git a/queue-2.6.14/series b/queue-2.6.14/series
new file mode 100644 (file)
index 0000000..e03fc57
--- /dev/null
@@ -0,0 +1,5 @@
+acpi-fix-asus_acpi-on-samsung-p30-p35.patch
+drivers-net-sungem.c-gem_remove_one-mustn-t-be-__devexit.patch
+ieee80211_crypt_tkip-depends-on-net_radio.patch
+insanity-avoidance-in-proc.patch
+sysctl-don-t-overflow-the-user-supplied-buffer-with-0.patch
diff --git a/queue/bridge-fix-faulty-check-in-br_stp_recalculate_bridge_id.patch b/queue/bridge-fix-faulty-check-in-br_stp_recalculate_bridge_id.patch
new file mode 100644 (file)
index 0000000..14e1041
--- /dev/null
@@ -0,0 +1,39 @@
+From stable-bounces@linux.kernel.org Tue Jan  3 15:31:50 2006
+Date: Tue, 3 Jan 2006 15:28:05 -0800
+From: Stephen Hemminger <shemminger@osdl.org>
+To: stable@kernel.org
+Message-ID: <20060103152805.39fda518@dxpl.pdx.osdl.net>
+Cc: 
+Subject: BRIDGE: Fix faulty check in br_stp_recalculate_bridge_id()
+
+There is a regression in 2.6.15.
+One of the conversions from memcmp to compare_ether_addr is incorrect.
+We need to do relative comparison to determine min MAC address to
+use in bridge id. This will cause the wrong bridge id to be chosen
+which violates 802.1d Spanning Tree Protocol, and may create forwarding
+loops.
+
+Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
+
+--- linux-2.6.15.orig/net/bridge/br_stp_if.c
++++ linux-2.6.15/net/bridge/br_stp_if.c
+@@ -158,7 +158,7 @@ void br_stp_recalculate_bridge_id(struct
+       list_for_each_entry(p, &br->port_list, list) {
+               if (addr == br_mac_zero ||
+-                  compare_ether_addr(p->dev->dev_addr, addr) < 0)
++                  memcmp(p->dev->dev_addr, addr, ETH_ALEN) < 0)
+                       addr = p->dev->dev_addr;
+       }
+-
+
+-- 
+Stephen Hemminger <shemminger@osdl.org>
+OSDL http://developer.osdl.org/~shemminger
+
+_______________________________________________
+stable mailing list
+stable@linux.kernel.org
+http://linux.kernel.org/mailman/listinfo/stable
+
diff --git a/queue/series b/queue/series
new file mode 100644 (file)
index 0000000..957e651
--- /dev/null
@@ -0,0 +1 @@
+bridge-fix-faulty-check-in-br_stp_recalculate_bridge_id.patch