[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120628.175702.1160710702612954949.davem@davemloft.net>
Date: Thu, 28 Jun 2012 17:57:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
Cc: netdev@...r.kernel.org, jpirko@...hat.com, dbaryshkov@...il.com,
slapin@...fans.org, johannes@...solutions.net,
lauro.venancio@...nbossa.org, aloisio.almeida@...nbossa.org,
sameo@...ux.intel.com
Subject: Re: [PATCH] net: Use NLMSG_DEFAULT_SIZE in combination with
nlmsg_new()
From: Thomas Graf <tgraf@...g.ch>
Date: Thu, 28 Jun 2012 15:57:45 +0200
> Using NLMSG_GOODSIZE results in multiple pages being used as
> nlmsg_new() will automatically add the size of the netlink
> header to the payload thus exceeding the page limit.
>
> NLMSG_DEFAULT_SIZE takes this into account.
>
> Signed-off-by: Thomas Graf <tgraf@...g.ch>
Applied, thanks Thomas.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists