[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 11 Nov 2017 15:15:08 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: dsahern@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net: netlink: Update attr validation to
require exact length for some types
From: David Ahern <dsahern@...il.com>
Date: Tue, 7 Nov 2017 21:59:40 -0800
> 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@...il.com>
> ---
> v2
> - fix check in nla_policy_len - reported by kernel test robot
Applied, thanks David.
Powered by blists - more mailing lists