lkml.org 
[lkml]   [2003]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][ATM] add reference counting to atm_dev
From
   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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.070 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site