Re: [PATCH net] inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()

2020-11-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 16 Nov 2020 16:20:18 +0800 you wrote: > 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

[PATCH net] inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()

2020-11-16 Thread Wang Hai
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 Signed-off-by: Wang Hai --- net/ipv4/inet_diag.c | 4 +++- 1 file changed, 3 inserti