From: Herbert Xu Date: Tue, 5 Jun 2007 06:34:08 +0000 (-0700) Subject: [IPV4]: Only panic if inetdev_init fails for loopback X-Git-Tag: v2.6.22-rc5~95^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d76527e728d00d1cf9d5dd663caffb2dcf05ae6;p=pandora-kernel.git [IPV4]: Only panic if inetdev_init fails for loopback When I made the inetdev_init call work on all devices I incorrectly left in the panic call as well. It is obviously undesirable to panic on an allocation failure for a normal network device. This patch moves the panic call under the loopback if clause. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed