From: Alexey Khoroshilov Date: Wed, 8 Aug 2012 00:33:25 +0000 (+0000) Subject: net/core: Fix potential memory leak in dev_set_alias() X-Git-Tag: v3.2.30~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47be27f0e491483c16285ed023874929824b5190;p=pandora-kernel.git net/core: Fix potential memory leak in dev_set_alias() [ Upstream commit 7364e445f62825758fa61195d237a5b8ecdd06ec ] Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed