Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
A set of overlapping changes in macvlan and the rocker driver, nothing serious. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1019,7 +1019,8 @@ static struct Qdisc *qdisc_create(struct net_device *dev,
|
||||
return sch;
|
||||
}
|
||||
/* ops->init() failed, we call ->destroy() like qdisc_create_dflt() */
|
||||
ops->destroy(sch);
|
||||
if (ops->destroy)
|
||||
ops->destroy(sch);
|
||||
err_out3:
|
||||
dev_put(dev);
|
||||
kfree((char *) sch - sch->padded);
|
||||
|
Reference in New Issue
Block a user