Files
linux-stable-mirror/include/linux
Pavel Emelyanov de248a75c3 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 <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-26 06:13:51 -04:00
..
2012-04-14 15:24:26 -04:00
2012-04-03 18:36:20 -04:00
2012-04-05 15:30:34 -07:00
2012-04-12 12:57:08 +02:00
2012-04-21 16:26:33 -04:00
2012-04-15 12:44:40 -04:00
2012-04-21 01:58:20 -04:00
2012-04-12 15:10:33 -04:00
2012-04-15 12:44:40 -04:00
2012-04-10 22:39:17 -06:00
2012-04-11 09:36:00 +01:00