From: Pekka Enberg Date: Sun, 27 Jul 2008 00:49:33 +0000 (-0700) Subject: netfilter: fix double-free and use-after free X-Git-Tag: v2.6.27-rc1~75^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93bc4e89c260d91576840c4881d1066d84ccd422;p=pandora-kernel.git netfilter: fix double-free and use-after free As suggested by Patrick McHardy, introduce a __krealloc() that doesn't free the original buffer to fix a double-free and use-after-free bug introduced by me in netfilter that uses RCU. Reported-by: Patrick McHardy Signed-off-by: Pekka Enberg Tested-by: Dieter Ries Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed