Displaying 3 results from an estimated 3 matches for "libbridge_init".
2007 Jul 31
1
[Bridge] brctl uses incorrect sysfs path
...ATH_MAX];
FILE *f;
- snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/%s", bridge, name);
+ snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/bridge/%s", bridge, name);
f = fopen(path, "w");
if (f) {
diff --git a/libbridge/libbridge_init.c b/libbridge/libbridge_init.c
index e2eab77..f31addc 100644
--- a/libbridge/libbridge_init.c
+++ b/libbridge/libbridge_init.c
@@ -185,13 +185,18 @@ int br_foreach_port(const char *brname,
int i, count;
struct dirent **namelist;
char path[SYSFS_PATH_MAX];
+ struc...
2007 Apr 18
0
[Bridge] libbridge<->sysfs interface - some bugs
...PATH_MAX];
FILE *f;
- snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/%s", bridge,
name);
+ snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/bridge/%s",
bridge, name);
f = fopen(path, "w");
if (f) {
diff -ru --strip-trailing-cr bridge-utils-1.2/libbridge/libbridge_init.c
/Arrow75/CN3XXX-SDK/linux/embedded_rootfs/build/bridge-utils-1.2/libbrid
ge/libbridge_init.c
--- bridge-utils-1.2/libbridge/libbridge_init.c 2006-09-09
09:30:32.000000000 +0300
+++
/Arrow75/CN3XXX-SDK/linux/embedded_rootfs/build/bridge-utils-1.2/libbrid
ge/libbridge_init.c 2007-01-01 07:35:25.610...
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"