Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netif/lo/lo.c

    ree2fa30a r79ae36dd  
    148148        null_device_stats((device_stats_t *) (*device)->specific);
    149149        (*device)->device_id = device_id;
     150        (*device)->nil_phone = -1;
    150151        (*device)->state = NETIF_STOPPED;
    151152        int index = netif_device_map_add(&netif_globals.device_map,
     
    201202        } while (next);
    202203       
    203         async_sess_t *nil_sess = netif_globals.nil_sess;
     204        int phone = device->nil_phone;
    204205        fibril_rwlock_write_unlock(&netif_globals.lock);
    205206       
    206         nil_received_msg(nil_sess, device_id, packet, sender);
     207        nil_received_msg(phone, device_id, packet, sender);
    207208       
    208209        fibril_rwlock_write_lock(&netif_globals.lock);
Note: See TracChangeset for help on using the changeset viewer.