Re: [net-next] tipc: do sanity check payload of a netlink message

2020-12-16 Thread patchwork-bot+netdevbpf
parsing call > conditional. > > Acked-by: Jon Maloy > Signed-off-by: Hoang Le > > [...] Here is the summary with links: - [net-next] tipc: do sanity check payload of a netlink message https://git.kernel.org/netdev/net/c/c32c928d29de You are awesome, thank you! -- De

[net-next] tipc: do sanity check payload of a netlink message

2020-12-14 Thread Hoang Huu Le
From: Hoang Le When we initialize nlmsghdr with no payload inside tipc_nl_compat_dumpit() the parsing function returns -EINVAL. We fix it by making the parsing call conditional. Acked-by: Jon Maloy Signed-off-by: Hoang Le --- net/tipc/netlink_compat.c | 12 +++- 1 file changed, 7 inse