Displaying 6 results from an estimated 6 matches for "rw_lock_unlock".
Did you mean:
gl_lock_unlock
2006 Mar 25
5
compiling Zaptel-1.2.4 on CentOS 4.3
Hi Guys,
Im having a problem compiling zaptel 1.2.4 on CentOS 4.3, anyone encountered
this problem before?
Here's the error i got:
make -C /lib/modules/2.6.9-34.EL/build SUBDIRS=/usr/src/zaptel-1.2.4 XPPMOD=
modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'
CC [M] /usr/src/zaptel-1.2.4/zaptel.o
/usr/src/zaptel-1.2.4/zaptel.c:384: error: syntax error before
2006 Mar 25
5
compiling Zaptel-1.2.4 on CentOS 4.3
Hi Guys,
Im having a problem compiling zaptel 1.2.4 on CentOS 4.3, anyone encountered
this problem before?
Here's the error i got:
make -C /lib/modules/2.6.9-34.EL/build SUBDIRS=/usr/src/zaptel-1.2.4 XPPMOD=
modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'
CC [M] /usr/src/zaptel-1.2.4/zaptel.o
/usr/src/zaptel-1.2.4/zaptel.c:384: error: syntax error before
2007 Apr 18
1
[Bridge] A question about modify bridge source
...le_init
struct Bridge *Bridge_fdb_init()
{
struct Bridge *br;
if ((br = kmalloc(sizeof(*br),GFP_KERNEL)) == NULL)
return NULL;
memset(br,0,sizeof(*br));
strncpy(br->dev.name,"BRIDGE",IFNAMSIZ);
ether_setup(&br->dev);
Bridge_dev_setup(&br->dev);
br->lock = RW_LOCK_UNLOCKED;
br->hash_lock = RW_LOCK_UNLOCKED;
register_netdev(&br->dev);
// netif_start_queue(&br->dev);
ethdev = dev_get_by_name("eth0");
ethdev->br_port = (struct net_bridge_port *)br;
dev_set_promiscuity(ethdev,1);
dev_hold(ethdev);
return br;
}
static void Bridge...
2006 Mar 19
2
Zaptel will not build
FYI:
I am trying to build zaptel-1.2.4 against the recently updated kernel
version 2.6.9-34.EL on Centos 4.2. but I am getting errors and it will
not build. This is apparently due to a typo in a kernel header
spinlock.h although I have not successfully modified the kernel and
built zaptel against it yet.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568
This bug report has a typo
2007 Apr 18
0
[Bridge] [PATCH] (4/4) bridge forwarding table RCU
...lock);
return ret;
}
diff -Nru a/net/bridge/br_if.c b/net/bridge/br_if.c
--- a/net/bridge/br_if.c 2004-07-28 15:30:04 -07:00
+++ b/net/bridge/br_if.c 2004-07-28 15:30:04 -07:00
@@ -149,7 +149,7 @@
br->lock = SPIN_LOCK_UNLOCKED;
INIT_LIST_HEAD(&br->port_list);
- br->hash_lock = RW_LOCK_UNLOCKED;
+ br->hash_lock = SPIN_LOCK_UNLOCKED;
br->bridge_id.prio[0] = 0x80;
br->bridge_id.prio[1] = 0x00;
diff -Nru a/net/bridge/br_input.c b/net/bridge/br_input.c
--- a/net/bridge/br_input.c 2004-07-28 15:30:04 -07:00
+++ b/net/bridge/br_input.c 2004-07-28 15:30:04 -07:00
@@ -83,19 +83,1...
2001 Mar 13
5
is this null block OK?
...t presto_file_set *fset)
{
int error = 0;
struct file *f;
ENTRY;
if (fset->fset_kml.fd_file) {
CDEBUG(D_INODE, "fset already has KML open\n");
EXIT;
return 0;
}
fset->fset_kml.fd_lock = RW_LOCK_UNLOCKED;
INIT_LIST_HEAD(&fset->fset_kml.fd_reservations);
f = presto_log_open(fset, "kml", O_RDWR | O_CREAT);
if ( IS_ERR(f) ) {
error = PTR_ERR(f);
return error;
}
fset->fset_kml.fd_file = f;
error = pr...