mirror of https://github.com/torvalds/linux.git
The fsl_mc_get_endpoint() function may call fsl_mc_device_lookup() twice, which would increment the device's reference count twice if both lookups find a device. This could lead to a reference count leak. Found by code review. Cc: stable@vger.kernel.org Fixes: |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| dpbp.c | ||
| dpcon.c | ||
| dpmcp.c | ||
| dprc-driver.c | ||
| dprc.c | ||
| fsl-mc-allocator.c | ||
| fsl-mc-bus.c | ||
| fsl-mc-msi.c | ||
| fsl-mc-private.h | ||
| fsl-mc-uapi.c | ||
| mc-io.c | ||
| mc-sys.c | ||
| obj-api.c | ||