Re: [PATCH] net: wan: sbni: fix device usage count

From: David Miller
Date: Sat Sep 05 2015 - 20:33:18 EST


From: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>
Date: Thu, 3 Sep 2015 11:30:30 +0530

> dev_get_by_name() will increment the usage count if the matching device
> is found. But we were not decrementing the count if we have got the
> device and the device is non-active.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/