On Wed, Nov 26, 2014 at 06:49:40PM +0100, Samuel Thibault wrote:
> Justus Winter, le Wed 26 Nov 2014 15:22:34 +0100, a écrit :
> > * libmachdev/net.c (netif_rx_handle): Allocate message buffer on the
> > stack.
> 
> Mmm, why not simply making it a struct net_rcv_msg variable?

Yes, please avoid alloca unless it really makes sense.

-- 
Richard Braun

Reply via email to