[PATCH] Wrong calcultation in nla_reserve
Thomas Graf
tgraf at suug.ch
Sun Apr 28 04:35:09 EDT 2013
On 04/24/13 at 06:39pm, Emmanuel Thierry wrote:
> Hello
>
> There seams to be an error in the calculation of needed space for the message in nla_reserve. The current size of the message is counted twice: Once in NLMSG_ALIGN, once in the condition below.
> This causes nla_put_* calls to be rejected if the allocation size of the message has been strictly calculated by the caller.
Applied, thanks Emmanuel.
More information about the libnl
mailing list