Re: [PATCH hurd-dde] libmachdev: avoid malloc overhead when sending package

2014-11-26 Thread Samuel Thibault
Justus Winter, le Wed 26 Nov 2014 20:21:57 +0100, a écrit : > * libmachdev/net.c (netif_rx_handle): Allocate message buffer on the > stack. Ack, but rather turn -> into . etc. than defining a pointer just for the sake of not modifying the source code :) Samuel

[PATCH hurd-dde] libmachdev: avoid malloc overhead when sending package

2014-11-26 Thread Justus Winter
* libmachdev/net.c (netif_rx_handle): Allocate message buffer on the stack. --- libmachdev/net.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libmachdev/net.c b/libmachdev/net.c index e04fa80..99368d7 100644 --- a/libmachdev/net.c +++ b/libmachdev/net.c @@ -223,7 +223