mctp: test: zero out sockaddr
Matt Johnston
maintainerPATCH 1/1 mctp: test: zero out sockaddr
MCTP now requires that padding bytes are zero.
Signed-off-by Matt Johnston <[email protected]>
Fixes 1e4b50f06d97 ("mctp: handle the struct sockaddr_mctp padding fields")
--- net/mctp/test/route-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mctp/test/route-test.c +1 -1
@@ -290,7 +290,7 @@ static void __mctp_route_test_init(struct kunit *test,struct mctp_test_route **rtp, struct socket **sockp) { - struct sockaddr_mctp addr; + struct sockaddr_mctp addr = {0};struct mctp_test_route *rt;struct mctp_test_dev *dev;struct socket *sock;
Signature · 1 line
2.32.0
This patch was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Mon, 10 Jan 2022 10:18:06 +0800 you wrote:
MCTP now requires that padding bytes are zero.
Signed-off-by Matt Johnston <[email protected]>Fixes 1e4b50f06d97 ("mctp: handle the struct sockaddr_mctp padding fields")--- net/mctp/test/route-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net] mctp: test: zero out sockaddr
https://git.kernel.org/netdev/net/c/284a4d94e8e7
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html