[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190429.230803.275536802508174338.davem@davemloft.net>
Date: Mon, 29 Apr 2019 23:08:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: netdev@...r.kernel.org, johannes.berg@...el.com
Subject: Re: [PATCH] netlink: limit recursion depth in policy validation
From: Johannes Berg <johannes@...solutions.net>
Date: Fri, 26 Apr 2019 14:13:46 +0200
> From: Johannes Berg <johannes.berg@...el.com>
>
> Now that we have nested policies, we can theoretically
> recurse forever parsing attributes if a (sub-)policy
> refers back to a higher level one. This is a situation
> that has happened in nl80211, and we've avoided it there
> by not linking it.
>
> Add some code to netlink parsing to limit recursion depth,
> allowing us to safely change nl80211 to actually link the
> nested policy, which in turn allows some code cleanups.
>
> Signed-off-by: Johannes Berg <johannes.berg@...el.com>
This doesn't apply cleanly to 'net', is there some dependency I am
unaware of or is this because of a recent mac80211 pull into my tree?
Thanks.
Powered by blists - more mailing lists