From: Johannes Berg <johannes@sipsolutions.net>
To: Arend Van Spriel <arend.vanspriel@broadcom.com>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH] cfg80211: size various nl80211 messages correctly
Date: Mon, 09 Jan 2017 13:39:31 +0100 [thread overview]
Message-ID: <1483965571.17582.35.camel@sipsolutions.net> (raw)
In-Reply-To: <ec9fb205-91ca-9591-0b0b-92672d093395@broadcom.com> (sfid-20170109_133643_721177_F4ABE60E)
> > - msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL);
> > + msg = nlmsg_new(100 + ie_len, GFP_KERNEL);
>
> Don't you want the '100' to be a define?
I didn't want to glorify it too much - some places may need more or
less over time. There's no significance to this number.
johannes
next prev parent reply other threads:[~2017-01-09 12:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 10:10 [PATCH] cfg80211: size various nl80211 messages correctly Johannes Berg
2017-01-09 11:39 ` kbuild test robot
2017-01-09 12:36 ` Arend Van Spriel
2017-01-09 12:39 ` Johannes Berg [this message]
2017-01-09 14:28 ` IgorMitsyanko
2017-01-09 14:39 ` IgorMitsyanko
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=1483965571.17582.35.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=arend.vanspriel@broadcom.com \
--cc=linux-wireless@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).