patch-2.0.37 linux/net/bridge/br_tree.c

Next file: linux/net/ipv4/Config.in
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/net/bridge/br_tree.c linux/net/bridge/br_tree.c
@@ -215,6 +215,11 @@
 			break;
 		*stack_ptr++ = nodeplace; stack_count++;
 		if (addr_cmp(new_node->ula, node->ula) == 0) { /* update */
+		/*
+		 * Vova Oksman: There was the BUG, in case that port 
+		 * was changed we must to update it.
+		 */
+			node->port = new_node->port;
 			node->flags = new_node->flags;
 			node->timer = new_node->timer;	
 			return(0);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov