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

David S. Miller (davem@redhat.com)
Thu, 15 May 2003 13:10:21 -0700 (PDT)


From: chas williams <chas@locutus.cmf.nrl.navy.mil>
Date: Thu, 15 May 2003 10:39:26 -0400

any other ideas or preferences?

Hold the RTNL semaphore when making any changes, therefore
you know no items can be removed/added while you hold this
semaphore.

I mean, this is the most fundamental part of how the networking
locks configuration changes, I'm actually baffled that ATM
doesn't make use of it :-(

Please, look at how netdevice objects are managed.
-
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/