Re: [Qemu-devel] [PATCH] slirp: Fix packet expiration

2011-09-27 Thread Jan Kiszka
On 2011-09-27 12:56, Fabien Chouteau wrote: > On 27/09/2011 11:20, Thomas Huth wrote: >> >> The two new variables "arp_requested" and "expiration_date" in the mbuf >> structure have been added after the variable-sized "m_dat_" array. The >> variables have to be added before the m_dat_ array instead

Re: [Qemu-devel] [PATCH] slirp: Fix packet expiration

2011-09-27 Thread Fabien Chouteau
On 27/09/2011 11:20, Thomas Huth wrote: > > The two new variables "arp_requested" and "expiration_date" in the mbuf > structure have been added after the variable-sized "m_dat_" array. The > variables have to be added before the m_dat_ array instead. > Without this patch, the expiration_date gets

Re: [Qemu-devel] [PATCH] slirp: Fix packet expiration

2011-09-27 Thread Jan Kiszka
On 2011-09-27 11:20, Thomas Huth wrote: > > The two new variables "arp_requested" and "expiration_date" in the mbuf > structure have been added after the variable-sized "m_dat_" array. The > variables have to be added before the m_dat_ array instead. > Without this patch, the expiration_date gets

[Qemu-devel] [PATCH] slirp: Fix packet expiration

2011-09-27 Thread Thomas Huth
The two new variables "arp_requested" and "expiration_date" in the mbuf structure have been added after the variable-sized "m_dat_" array. The variables have to be added before the m_dat_ array instead. Without this patch, the expiration_date gets clobbered by code that accesses the m_dat_ array.