Re: [RFC] nl80211: use policy range validation where applicable
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2018-09-27 02:24:34
Also in:
linux-wireless
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2018-09-27 02:24:34
Also in:
linux-wireless
On Wed, 2018-09-26 at 22:07 +0200, Johannes Berg wrote:
From: Johannes Berg <redacted> Many range checks can be done in the policy, move them there. A few in mesh are added in the code (taken out of the macros) because they don't fit into the s16 range in the policy validation.
Forgot to say - this saves 550 bytes of .text on x86-64 for me. johannes