[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110525.184237.257757281453830698.davem@davemloft.net>
Date: Wed, 25 May 2011 18:42:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: greearb@...delatech.com
Cc: netdev@...r.kernel.org
Subject: Re: [RFC] af-packet: Save reference to bound network device.
From: Ben Greear <greearb@...delatech.com>
Date: Wed, 25 May 2011 15:36:55 -0700
> I can't see where the code holds any reference to prot_hook.dev.
> (It just assigns the pointer and then does a dev_put()).
>
> Maybe it gets away with it because a NETDEV_UNREGISTER event
> is always sent?
I think that is precisely the property it is depending upon.
It may seem sketchy, but as far as I can tell it's completely
legal.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists