Re: PATCH : ppp + big-endian = kernel crash

From: David S. Miller
Date: Sun May 29 2005 - 16:57:36 EST


From: "Philippe De Muyter" <phdm@xxxxxxxxx>
Date: Sun, 29 May 2005 23:38:53 +0200 (CEST)

> Do you mean that ip_rcv may not assume that packets are properly aligned ?
>
> And some non-mmu m68k (Coldfires) do not provide enough information in
> exception frames to restart instructions on an address error in the general
> case.

So many variants of tunneling and protocol encapsulation can result in
unaligned packet headers, and as a result platforms really must
provide proper unaligned memory access handling in kernel mode in
order to use the networking fully.

All these patches to PPP and friends are merely papering over the
larger problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/