Re: [PATCH][ATM] add reference counting to atm_dev

From: David S. Miller (davem@redhat.com)
Date: Thu May 15 2003 - 19:14:57 EST


   From: chas williams <chas@locutus.cmf.nrl.navy.mil>
   Date: Thu, 15 May 2003 16:20:41 -0400

   i suspect atm doesnt use rtnl because its register/unregister
   function dont use the underlying netdevice layer (when perhaps it
   should).

There is no correlation between whether you use netdevice or not
and whether network configuration changes should be synchronized
using the RTNL semaphore :-)

   thanks for the pointer.
   
No problem.

   here is the the atm_dev locking patch with the __module_get change:
   
Ok, I'll apply this. But long term we really need to clean out
the cobwebs here, use RTNL, do solid module refcounting etc.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:59 EST