[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.