Hello Dave,

The patch below removes the use of MOD_{DEC,INC}_USE_COUNT in the bridge 
module. Please apply.

cheers,
Bart

--- linux-2.5.59/net/bridge/br.c.old    Tue Feb  4 18:36:33 2003
+++ linux-2.5.59/net/bridge/br.c        Tue Feb  4 22:52:17 2003
@@ -33,12 +33,12 @@
 
 void br_dec_use_count()
 {
-       MOD_DEC_USE_COUNT;
+       module_put(THIS_MODULE);
 }
 
 void br_inc_use_count()
 {
-       MOD_INC_USE_COUNT;
+       try_module_get(THIS_MODULE);
 }
 
 static int __init br_init(void)

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to