L4Re multiple Linux instances communication

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sun Sep 26 22:54:49 CEST 2010


Hi Michael,

On Thu Sep 23, 2010 at 10:03:29 +0200, Michael Weiß wrote:
> KERNEL0: alignment error at 01637e62 (PC: 012a93b4, SP: 0137bde0,
> FSR: 410001)

This fixes it:

--- drivers/net/l4shmnet.c
+++ drivers/net/l4shmnet.c
@@ -188,6 +188,7 @@
 		else
 			l = rph->size;
 
+		skb_reserve(skb, NET_IP_ALIGN);
 		p = skb_put(skb, rph->size);
 		memcpy(p, priv->rx_ring_start + offs, l);
 		if (l != rph->size)
 

Thanks,
Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list