Thread (7 messages) 7 messages, 3 authors, 2016-02-24

Re: [PATCH V7 1/2] nl80211: add feature for BSS selection support

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-02-24 10:37:25

On Wed, 2016-02-24 at 11:04 +0100, Arend Van Spriel wrote:
I actually do not see any NLA_NESTED attributes with an explicit
length. As you mentioned the nla_parse() of the nested attribute will
validate the length of the stream so no need to put that in the
policy.
Right, I think what you want can be achieved by just using NLA_NESTED
to make sure it's long enough for nesting anything, and then nla_parse.
I'm pretty sure we do the same in other places, no?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help