From: Wei Yongjun Date: Thu, 20 Sep 2012 18:29:56 +0000 (+0000) Subject: ipv6: fix return value check in fib6_add() X-Git-Tag: v3.6-rc7~10^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f950c0ecc78f745e490d615280e031de4dbb1306;p=pandora-kernel.git ipv6: fix return value check in fib6_add() In case of error, the function fib6_add_1() returns ERR_PTR() or NULL pointer. The ERR_PTR() case check is missing in fib6_add(). dpatch engine is used to generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed