Displaying 3 results from an estimated 3 matches for "br_get_bridge_ifindices".
2007 Apr 18
1
[Bridge] Re: Re: a problem about brctl
...000,arg1=0...
>><4>zhs_debug:br_ioctl_deviceless_stub() line 316 
>><4>zhs_debug:br_ioctl_deviceless_stub() line 314 
>><4>br_ioctl_deviceless() start,arg0=0x7fff7d68,arg1=32...
>><4>zhs_debug:br_ioctl_deviceless() line 266 
>><4>zhs_debug:br_get_bridge_ifindices() line 270 
>><4>zhs_debug:br_get_bridge_ifindices() line 280 
>><4>br_get_bridge_ifindices() return 2....
>><4>br_ioctl_deviceless() get arg1=2...
>><4>toUser:0D 00 00 00  0A 00 00 00                           ........
>><4>zhs_debug:br_i...
2007 Apr 18
0
[Bridge] [PATCH] (4/11) bridge - ioctl cleanup and consolidation
...get_stats = br_dev_get_stats;
 	dev->hard_start_xmit = br_dev_xmit;
 	dev->open = br_dev_open;
diff -Nru a/net/bridge/br_if.c b/net/bridge/br_if.c
--- a/net/bridge/br_if.c	2004-05-20 10:51:05 -07:00
+++ b/net/bridge/br_if.c	2004-05-20 10:51:05 -07:00
@@ -309,34 +309,6 @@
 	return 0;
 }
 
-int br_get_bridge_ifindices(int *indices, int num)
-{
-	struct net_device *dev;
-	int i = 0;
-
-	read_lock(&dev_base_lock);
-	for (dev = dev_base; dev && i < num; dev = dev->next) {
-		if (dev->priv_flags & IFF_EBRIDGE) 
-			indices[i++] = dev->ifindex;
-	}
-	read_unlock(&dev_base_lock);
-
-	re...
2007 Apr 18
2
[Bridge] bridge_list orphans in linux-2.4
Hi all,
We use linux-2.4.20 in one of our products and we've found what looks
to be a problem in the bridge module.  (I know this is old code but we
don't send our customers kernel upgrades unless we really have to!)
The problem is that some of our bridges have become orphaned from the
bridge module.  Specifically
	ifconfig ourbridgename
shows that the device "ourbridgename"