[IPV4]: Only panic if inetdev_init fails for loopback
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Jun 2007 06:34:08 +0000 (23:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Jun 2007 20:39:03 +0000 (13:39 -0700)
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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found