diff options
author | 2020-02-26 19:47:34 +0100 | |
---|---|---|
committer | 2020-02-29 21:21:23 -0800 | |
commit | 84b3268027641401bb8ad4427a90a3cce2eb86f5 (patch) | |
tree | 29a8587323b128b72d0629da76eb131b3f55ad05 /drivers/atm | |
parent | r8152: check disconnect status after long sleep (diff) | |
download | linux-dev-84b3268027641401bb8ad4427a90a3cce2eb86f5.tar.xz linux-dev-84b3268027641401bb8ad4427a90a3cce2eb86f5.zip |
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: 2d4bc93368f5 ("netlink: extended ACK reporting")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions