From: Wei Yongjun Date: Mon, 24 Sep 2012 18:29:01 +0000 (+0000) Subject: l2tp: fix return value check X-Git-Tag: v3.6~5^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f8436a1269eaaf2d0b1054a325eddf4e14cb80d;p=pandora-kernel.git l2tp: fix return value check In case of error, the function genlmsg_put() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed