mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-12 12:25:18 +02:00
Revert "net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path"
This reverts commita089369346
which is commit86735b57c9
upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: I05a576398d8ee04fd3fd19e23c1f6a41612baa8b Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
47deb51546
commit
b87a1e28af
|
@ -1360,7 +1360,6 @@ err_out4:
|
|||
ops->destroy(sch);
|
||||
qdisc_put_stab(rtnl_dereference(sch->stab));
|
||||
err_out3:
|
||||
lockdep_unregister_key(&sch->root_lock_key);
|
||||
netdev_put(dev, &sch->dev_tracker);
|
||||
qdisc_free(sch);
|
||||
err_out2:
|
||||
|
|
|
@ -978,7 +978,6 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue,
|
|||
|
||||
return sch;
|
||||
errout1:
|
||||
lockdep_unregister_key(&sch->root_lock_key);
|
||||
kfree(sch);
|
||||
errout:
|
||||
return ERR_PTR(err);
|
||||
|
|
Loading…
Reference in New Issue
Block a user