Home
last modified time | relevance | path

Searched hist:"03 acb0c5ac46b1aa5f3015f1e01243aff9e08600" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/misc/sgi-gru/
H A Dgrumain.cdiff 03acb0c5ac46b1aa5f3015f1e01243aff9e08600 Sat Jul 17 05:17:22 CDT 2021 Xiyu Yang <xiyuyang19@fudan.edu.cn> misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt

refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.

Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Link: https://lore.kernel.org/r/1626517043-42696-1-git-send-email-xiyuyang19@fudan.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H A Dgrutables.hdiff 03acb0c5ac46b1aa5f3015f1e01243aff9e08600 Sat Jul 17 05:17:22 CDT 2021 Xiyu Yang <xiyuyang19@fudan.edu.cn> misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt

refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.

Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Link: https://lore.kernel.org/r/1626517043-42696-1-git-send-email-xiyuyang19@fudan.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>