Searched hist:"8 d76527e728d00d1cf9d5dd663caffb2dcf05ae6" (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | devinet.c | diff 8d76527e728d00d1cf9d5dd663caffb2dcf05ae6 Tue Jun 05 08:34:08 CEST 2007 Herbert Xu <herbert@gondor.apana.org.au> [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 <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
|