diff options
| author | Herbert Xu <[email protected]> | 2007-06-05 06:34:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2007-06-07 20:39:03 +0000 |
| commit | 8d76527e728d00d1cf9d5dd663caffb2dcf05ae6 (patch) | |
| tree | e3cae9cff087f2330a64a8ee7bff36c312d9471b /net/unix/af_unix.c | |
| parent | [TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack (diff) | |
| download | kernel-8d76527e728d00d1cf9d5dd663caffb2dcf05ae6.tar.gz kernel-8d76527e728d00d1cf9d5dd663caffb2dcf05ae6.zip | |
[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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
