Ignore:
Timestamp:
2010-10-08T21:47:40Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b278b4e
Parents:
c0e74b1 (diff), 368fb2c (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 from lp:~jakub/helenos/net.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/generic/packet_client.c

    rc0e74b1 rae972834  
    4141#include <sys/mman.h>
    4242
     43#include <packet_client.h>
     44
    4345#include <net_messages.h>
    44 #include <packet/packet.h>
    45 #include <packet/packet_header.h>
    46 #include <packet/packet_client.h>
     46#include <net/packet.h>
     47#include <net/packet_header.h>
    4748
    4849int packet_copy_data(packet_t packet, const void * data, size_t length)
     
    181182
    182183        // get a new packet
    183         copy = packet_get_4_local(phone, PACKET_DATA_LENGTH(packet),
     184        copy = packet_get_4_remote(phone, PACKET_DATA_LENGTH(packet),
    184185            PACKET_MAX_ADDRESS_LENGTH(packet), packet->max_prefix,
    185186            PACKET_MIN_SUFFIX(packet));
     
    199200                return copy;
    200201        } else {
    201                 pq_release_local(phone, copy->packet_id);
     202                pq_release_remote(phone, copy->packet_id);
    202203                return NULL;
    203204        }
Note: See TracChangeset for help on using the changeset viewer.