[TCP]: Use get_unaligned() in tcp_parse_options()
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. Signed-off-by:Sven Henkel <shenkel@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment