diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-26 15:06:21 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-26 15:06:21 +0100 |
commit | 4ef693ac89cb514f75fd8643322a36d15474902a (patch) | |
tree | 3968f8db46623e0b89ee78b6c0e0fae81ee9060f /libmachdev/net.c | |
parent | a712dbc42369b44556bf11e2c53e7cad8f476c13 (diff) |
sync libmachdev
Diffstat (limited to 'libmachdev/net.c')
-rw-r--r-- | libmachdev/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmachdev/net.c b/libmachdev/net.c index 7ddf95d9..47e85aac 100644 --- a/libmachdev/net.c +++ b/libmachdev/net.c @@ -239,6 +239,7 @@ netif_rx_handle (char *data, int len, struct net_device *dev) net_msg->msg_hdr.msgh_size = (((mach_msg_size_t) (sizeof (struct net_rcv_msg) - sizeof net_msg->sent + + sizeof (struct packet_header) - NET_RCV_MAX + pack_size)) + 3) & ~3; /* Copy packet into message buffer. */ |