diff options
| author | Sven Henkel <shenkel@gmail.com> | 2005-03-15 22:07:17 -0800 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2005-03-15 22:07:17 -0800 |
| commit | c149bdada85031ffa345fc1a65ad7bf622786133 (patch) | |
| tree | 778408fe39f8bc003bdd3584178cc92217abc339 /include/linux/rtnetlink.h | |
| parent | 818a9ce8ca971e880a77a72a42a1223e427c5b7d (diff) | |
[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>
Diffstat (limited to 'include/linux/rtnetlink.h')
0 files changed, 0 insertions, 0 deletions
