Searched hist:e33de7c5317e2827b2ba6fd120a505e9eb727b05 (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | inet_diag.c | diff e33de7c5317e2827b2ba6fd120a505e9eb727b05 Mon Nov 16 09:20:18 CET 2020 Wang Hai <wanghai38@huawei.com> inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()
nlmsg_cancel() needs to be called in the error path of inet_req_diag_fill to cancel the message.
Fixes: d545caca827b ("net: inet: diag: expose the socket mark to privileged processes.") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Link: https://lore.kernel.org/r/20201116082018.16496-1-wanghai38@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|