summaryrefslogtreecommitdiff
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-06-05 06:34:08 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-07 20:39:03 (GMT)
commit8d76527e728d00d1cf9d5dd663caffb2dcf05ae6 (patch)
treee3cae9cff087f2330a64a8ee7bff36c312d9471b /lib/genalloc.c
parentf0e48dbfc5c74e967fea4c0fd0c5ad07557ae0c8 (diff)
downloadlinux-fsl-qoriq-8d76527e728d00d1cf9d5dd663caffb2dcf05ae6.tar.xz
[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>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions