WSL2-Linux-Kernel/net/ipv6/ila
Jakub Kicinski 9c5d03d362 genetlink: start to validate reserved header bytes
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: Jakub Kicinski <kuba@kernel.org>
Acked-by: Paul Moore <paul@paul-moore.com> (NetLabel)
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-08-29 12:47:15 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ila.h ila: remove unused inline function ila_addr_is_ila 2020-04-29 12:01:31 -07:00
ila_common.c ila: remove blank lines at EOF 2018-07-24 14:10:42 -07:00
ila_lwt.c net: add net available in build_state 2020-03-29 22:30:57 -07:00
ila_main.c genetlink: start to validate reserved header bytes 2022-08-29 12:47:15 +01:00
ila_xlat.c net: ipv6: check return value of rhashtable_init 2021-09-28 12:59:24 +01:00