[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4835C4E6.3050005@trash.net>
Date: Thu, 22 May 2008 21:09:26 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Pekka Enberg <penberg@...helsinki.fi>
CC: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mpm@...enic.com, clameter@....com
Subject: Re: [PATCH] netfilter: use krealloc() in nf_conntrack_extend.c V2
Pekka Enberg wrote:
> Patrick McHardy wrote:
>> Unfortunately this means we'll always have to reallocate, even
>> if there's still some room left from the previous allocation.
>> Any chance to avoid that?
>
> No, no, krealloc() avoids reallocation if there's enough room in the
> buffer to fit newlen.
Great, thanks for the explanation. Is this patch targeted
at 2.6.26 or 2.6.27?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists