kernel_optimize_test/net/netlink
Pablo Neira Ayuso 84b3268027 netlink: Use netlink header as base to calculate bad attribute offset
Userspace might send a batch that is composed of several netlink
messages. The netlink_ack() function must use the pointer to the netlink
header as base to calculate the bad attribute offset.

Fixes: 2d4bc93368 ("netlink: extended ACK reporting")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-29 21:21:23 -08:00
..
af_netlink.c netlink: Use netlink header as base to calculate bad attribute offset 2020-02-29 21:21:23 -08:00
af_netlink.h
diag.c
genetlink.c
Kconfig
Makefile