[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200818.122911.832794587934053908.davem@davemloft.net>
Date: Tue, 18 Aug 2020 12:29:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 0/3] netlink: allow NLA_BINARY length range
validation
From: Johannes Berg <johannes@...solutions.net>
Date: Tue, 18 Aug 2020 10:17:30 +0200
> In quite a few places (perhaps particularly in wireless) we need to
> validation an NLA_BINARY attribute with both a minimum and a maximum
> length. Currently, we can do either of the two, but not both, given
> that we have NLA_MIN_LEN (minimum length) and NLA_BINARY (maximum).
>
> Extend the range mechanisms that we use for integer validation to
> apply to NLA_BINARY as well.
...
Series applied, thanks Johannes.
Powered by blists - more mailing lists