Netdev List
 help / color / mirror / Atom feed
* in_dev->refcnt and dev->refcnt
@ 2010-06-07  9:20 ratheesh k
  2010-06-07  9:30 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: ratheesh k @ 2010-06-07  9:20 UTC (permalink / raw)
  To: netdev, linux-net

Is there any relation between in_dev->refcnt and dev->refcnt ?  . My
question is : if  put or get on one variable affects other ?

-Ratheesh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: in_dev->refcnt and dev->refcnt
  2010-06-07  9:20 in_dev->refcnt and dev->refcnt ratheesh k
@ 2010-06-07  9:30 ` Eric Dumazet
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2010-06-07  9:30 UTC (permalink / raw)
  To: ratheesh k; +Cc: netdev, linux-net

Le lundi 07 juin 2010 à 14:50 +0530, ratheesh k a écrit :
> Is there any relation between in_dev->refcnt and dev->refcnt ?  . My
> question is : if  put or get on one variable affects other ?
> 

No, there is no relation between them.

You can increase / decrease one refcount or the other, using separate
API.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-07  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-07  9:20 in_dev->refcnt and dev->refcnt ratheesh k
2010-06-07  9:30 ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox