Changeset 8b655705 in mainline for uspace/srv/net/nil/eth/eth.c
- Timestamp:
- 2011-04-15T19:38:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9dd730d1
- Parents:
- 6b9e85b (diff), b2fb47f (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.c
r6b9e85b r8b655705 43 43 #include <str.h> 44 44 #include <errno.h> 45 46 #include <ipc/ipc.h>47 45 #include <ipc/nil.h> 48 46 #include <ipc/net.h> 49 47 #include <ipc/services.h> 50 51 48 #include <net/modules.h> 52 49 #include <net_checksum.h> … … 217 214 if (rc != EOK) { 218 215 free(eth_globals.broadcast_addr); 219 eth_devices_destroy(ð_globals.devices );216 eth_devices_destroy(ð_globals.devices, free); 220 217 } 221 218 out: … … 242 239 nil_device_state_msg_local(0, IPC_GET_DEVICE(*icall), 243 240 IPC_GET_STATE(*icall)); 244 ipc_answer_0(iid, EOK);241 async_answer_0(iid, EOK); 245 242 break; 246 243 case NET_NIL_RECEIVED: … … 251 248 IPC_GET_DEVICE(*icall), packet, 0); 252 249 253 ipc_answer_0(iid, (sysarg_t) rc);250 async_answer_0(iid, (sysarg_t) rc); 254 251 break; 255 252 default: 256 ipc_answer_0(iid, (sysarg_t) ENOTSUP);253 async_answer_0(iid, (sysarg_t) ENOTSUP); 257 254 } 258 255 … … 534 531 proto->service); 535 532 } else { 536 / / drop invalid/unknown533 /* Drop invalid/unknown */ 537 534 pq_release_remote(eth_globals.net_phone, 538 535 packet_get_id(packet));
Note:
See TracChangeset
for help on using the changeset viewer.