Changeset 1916d1f in mainline for uspace/srv/net/netif/lo/lo.c


Ignore:
Timestamp:
2011-07-12T13:41:26Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50fc490
Parents:
11809eab (diff), 6817eba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix changes.

File:
1 edited

Legend:

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

    r11809eab r1916d1f  
    148148        null_device_stats((device_stats_t *) (*device)->specific);
    149149        (*device)->device_id = device_id;
    150         (*device)->nil_phone = -1;
    151150        (*device)->state = NETIF_STOPPED;
    152151        int index = netif_device_map_add(&netif_globals.device_map,
     
    202201        } while (next);
    203202       
    204         int phone = device->nil_phone;
     203        async_sess_t *nil_sess = netif_globals.nil_sess;
    205204        fibril_rwlock_write_unlock(&netif_globals.lock);
    206205       
    207         nil_received_msg(phone, device_id, packet, sender);
     206        nil_received_msg(nil_sess, device_id, packet, sender);
    208207       
    209208        fibril_rwlock_write_lock(&netif_globals.lock);
Note: See TracChangeset for help on using the changeset viewer.