-
由 Pekka Enberg 提交于
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: NPatrick McHardy <kaber@trash.net> Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi> Tested-by: NDieter Ries <clip2@gmx.de> Signed-off-by: NPatrick McHardy <kaber@trash.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
93bc4e89