diff options
author | 2017-11-07 21:59:40 -0800 | |
---|---|---|
committer | 2017-11-11 15:14:38 +0900 | |
commit | 28033ae4e0f59782b3f3357d9c28852a7e84a894 (patch) | |
tree | 28b50e6aced09e14ff02b907745ec511d2ee8790 /samples/bpf/tcp_synrto_kern.c | |
parent | net: ipv6: sysctl to specify IPv6 ND traffic class (diff) | |
download | wireguard-linux-28033ae4e0f59782b3f3357d9c28852a7e84a894.tar.xz wireguard-linux-28033ae4e0f59782b3f3357d9c28852a7e84a894.zip |
net: netlink: Update attr validation to require exact length for some types
Attributes using NLA_U* and NLA_S* (where * is 8, 16,32 and 64) are
expected to be an exact length. Split these data types from
nla_attr_minlen into nla_attr_len and update validate_nla to require
the attribute to have exact length for them.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/tcp_synrto_kern.c')
0 files changed, 0 insertions, 0 deletions