Pekka J Enberg wrote:
To: kaber@xxxxxxxxx [PATCH] netfilter: use krealloc() in nf_conntrack_extend.c V2 From: Pekka Enberg <penberg@xxxxxxxxxxxxxx> The ksize() API is going away because it is being abused and it doesn't even work consistenly across different allocators. Therefore, convert net/netfilter/nf_conntrack_extend.c to use krealloc(). Cc: <netfilter-devel@xxxxxxxxxxxxxxx> Cc: <netdev@xxxxxxxxxxxxxxx> Cc: Matt Mackall <mpm@xxxxxxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx> --- Patrick, please use this patch instead. The previous one did the moving unconditionally which is wrong. This one moves entries around only if krealloc() allocated a new buffer.
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html