aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2012-04-25 23:43:04 +0000
committerDavid S. Miller <[email protected]>2012-04-26 10:13:51 +0000
commitde248a75c35e0208294cf304b112916254b69184 (patch)
tree0d00a02fdb994f8b1cbf239c11080fec86977639 /net/ipv6/tcp_ipv6.c
parent6lowpan: duplicate definition of IEEE802154_ALEN (diff)
downloadkernel-de248a75c35e0208294cf304b112916254b69184.tar.gz
kernel-de248a75c35e0208294cf304b112916254b69184.zip
tcp repair: Fix unaligned access when repairing options (v2)
Don't pick __u8/__u16 values directly from raw pointers, but instead use an array of structures of code:value pairs. This is OK, since the buffer we take options from is not an skb memory, but a user-to-kernel one. For those options which don't require any value now, require this to be zero (for potential future extension of this API). v2: Changed tcp_repair_opt to use two __u32-s as spotted by David Laight. Signed-off-by: Pavel Emelyanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions