Skip to content
Snippets Groups Projects
Forked from drm / msm
Source project has a limited visibility.
user avatar
Jakub Kicinski authored
We had historically not checked that genlmsghdr.reserved
is 0 on input which prevents us from using those precious
bytes in the future.

One use case would be to extend the cmd field, which is
currently just 8 bits wide and 256 is not a lot of commands
for some core families.

To make sure that new families do the right thing by default
put the onus of opting out of validation on existing families.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Acked-by: Paul Moore <paul@paul-moore.com> (NetLabel)
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
9c5d03d3
History
Name Last commit Last update
..