[PATCH] dnsproxy: Fix possible alignment issue when handling DNS packet.

2011-08-10 Thread Jukka Rissanen
--- Hi, this patch fixes possible memory alignment issue when dealing with DNS packet. I will send the fixed DNS cache patch after this has been commited. Regards, Jukka src/dnsproxy.c | 85 +++ 1 files changed, 48 insertions(+), 37

Re: [PATCH] dnsproxy: Fix possible alignment issue when handling DNS packet.

2011-08-10 Thread Marcel Holtmann
Hi Jukka, this patch fixes possible memory alignment issue when dealing with DNS packet. I will send the fixed DNS cache patch after this has been commited. so the real question is if we wanna hack this all on byte level or just add proper get_unaligned and put_unaligned helpers. Similar to