[PATCH 2.6 2/5]: refcount qdisc->dev

STALE8047d

2 messages, 2 authors, 2004-08-04 · open the first message on its own page

[PATCH 2.6 2/5]: refcount qdisc->dev

From: Patrick McHardy <hidden>
Date: 2004-08-03 15:22:36

This patch adds refcounting for qdisc->dev to avoid accessing freed memory
from the __qdisc_destroy rcu-callback when the device is unregistered. 
Without
refcounting netdev_wait_allrefs could free the device before __qdisc_destroy
is done.

Re: [PATCH 2.6 2/5]: refcount qdisc->dev

From: David S. Miller <hidden>
Date: 2004-08-04 16:36:04

On Tue, 03 Aug 2004 17:22:36 +0200
Patrick McHardy [off-list ref] wrote:
This patch adds refcounting for qdisc->dev to avoid accessing freed memory
from the __qdisc_destroy rcu-callback when the device is unregistered. 
Without
refcounting netdev_wait_allrefs could free the device before __qdisc_destroy
is done.
We do need this.  Applied, thanks Patrick.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help