Skip to content
Snippets Groups Projects
user avatar
Leon Romanovsky authored
The netlink message sent with type == 0, which doesn't have any client
behind it, caused to the overflow in max_num_ops array.

Fix it by declaring zero number of ops for the first client.

Fixes: c9901724 ("RDMA/netlink: Remove netlink clients infrastructure")
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
8b2c7e7a
History
Name Last commit Last update