L4Re multiple Linux instances communication

Michael Weiß Michael.Weiss at sit.fraunhofer.de
Mon Sep 27 10:16:39 CEST 2010


On 09/26/2010 10:54 PM, Adam Lackorzynski wrote:
> 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)
>

Indeed, the patch worked.
I can now successfully ping through the shmnet device.

Thanks,
Michael




More information about the l4-hackers mailing list