From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [RFC] nl80211: use policy range validation where applicable
Date: Wed, 26 Sep 2018 22:09:43 +0200 [thread overview]
Message-ID: <1537992583.28767.24.camel@sipsolutions.net> (raw)
In-Reply-To: <20180926200731.23491-1-johannes@sipsolutions.net> (sfid-20180926_220807_433903_259DD5BE)
On Wed, 2018-09-26 at 22:07 +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> 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
next prev parent reply other threads:[~2018-09-26 20:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 20:06 [PATCH] netlink: add policy attribute range validation Johannes Berg
2018-09-26 20:06 ` Johannes Berg
2018-09-26 20:07 ` [RFC] nl80211: use policy range validation where applicable Johannes Berg
2018-09-26 20:09 ` Johannes Berg [this message]
2018-09-26 20:17 ` [PATCH] netlink: add policy attribute range validation Johannes Berg
2018-09-26 20:35 ` Johannes Berg
2018-09-26 20:35 ` Johannes Berg
2018-09-27 7:16 ` Michal Kubecek
2018-09-27 8:12 ` Johannes Berg
2018-09-27 8:12 ` Johannes Berg
2018-09-27 8:48 ` Michal Kubecek
2018-09-27 8:48 ` Michal Kubecek
2018-09-27 8:51 ` Johannes Berg
2018-09-26 20:24 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1537992583.28767.24.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.