ipc,sem: fix use after free on IPC_RMID v2

From: Herton R. Krzesinski
Date: Tue Aug 11 2015 - 13:19:21 EST


This is a followup series for the patch sent previously, on thread:
"[PATCH] ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set exits"

The IPC_RMID race fix is split into a single patch with Cc: to stable including
suggestions made previously.

The removal of uneeded ulp->lock usage is moved into a new patch.

Thanks,
Herton.
--
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/