From: Dan Carpenter Date: Mon, 19 Aug 2013 07:05:10 +0000 (+0300) Subject: ipip: dereferencing an ERR_PTR in ip_tunnel_init_net() X-Git-Tag: v3.12-rc1~132^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea857f28ab5ca82508e70ffbc8cb296705133f01;p=pandora-kernel.git ipip: dereferencing an ERR_PTR in ip_tunnel_init_net() We need to move the derefernce after the IS_ERR() check. Signed-off-by: Dan Carpenter Acked-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed