Re: [PATCH] Fix unaligned accesses in tcp_input_parse

From: David S. Miller
Date: Wed Mar 16 2005 - 17:15:16 EST


On Wed, 16 Mar 2005 12:01:31 +0100
<shenkel@xxxxxxxxx> wrote:

> TCP options are not guaranteed to be aligned at all, so we should use
> get_unaligned when accessing u16- or u32-values in the TCP
> options header to avoid alignment errors on some platforms. The patch
> applies to vanilla 2.6.11.

Applied, thanks.
-
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/