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-20 21:22:30 -04:00
2012-04-21 15:52:25 -04:00
2012-04-15 12:37:19 -04:00
2012-04-15 12:44:40 -04:00
2012-02-21 09:03:31 -08:00
2011-05-08 13:48:57 -07:00
2012-04-20 21:22:30 -04:00
2012-03-12 17:05:21 -07:00
2012-04-15 12:44:40 -04:00
2011-03-24 18:06:47 -07:00
2012-04-02 04:33:43 -04:00
2012-04-10 14:30:45 -04:00
2012-03-28 18:30:03 +01:00
2012-03-12 17:05:21 -07:00
2012-03-28 18:30:03 +01:00
2012-04-15 12:37:19 -04:00
2012-04-21 15:52:25 -04:00
2012-04-25 20:46:59 -04:00
2010-07-12 12:57:54 -07:00
2012-04-15 12:37:19 -04:00
2011-10-19 03:10:46 -04:00
2012-04-15 12:44:40 -04:00
2012-03-08 00:30:32 -08:00
2012-04-15 12:37:19 -04:00
2012-04-20 21:22:30 -04:00
2012-04-15 12:37:19 -04:00
2012-03-28 18:30:03 +01:00
2012-04-15 12:44:40 -04:00
2012-03-28 18:30:03 +01:00
2012-04-15 12:44:40 -04:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:44:40 -04:00
2012-04-15 12:37:19 -04:00
2012-04-10 14:30:45 -04:00
2012-02-07 13:35:28 -05:00
2011-12-12 19:04:10 -05:00
2012-04-20 21:22:30 -04:00
2012-04-15 12:44:40 -04:00
2012-03-19 16:53:08 -04:00
2010-10-27 11:37:31 -07:00
2012-04-15 12:37:19 -04:00
2012-04-20 21:22:30 -04:00
2012-03-11 15:52:12 -07:00
2012-04-20 21:22:30 -04:00
2012-01-20 14:17:26 -05:00
2012-03-12 17:05:21 -07:00
2012-01-20 14:17:26 -05:00
2012-01-11 12:56:06 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2012-04-23 23:36:58 -04:00
2012-04-23 22:28:28 -04:00
2011-03-31 11:26:23 -03:00
2012-03-20 18:11:21 -07:00
2012-01-31 12:14:00 -05:00
2012-04-23 23:15:17 -04:00
2012-04-15 12:44:40 -04:00
2011-03-10 00:40:17 -08:00
2012-03-12 17:05:21 -07:00
2011-03-10 00:40:17 -08:00
2007-07-31 02:27:57 -07:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-31 11:26:23 -03:00
2012-04-26 06:13:51 -04:00
2012-03-11 23:42:51 -07:00
2012-01-17 10:31:12 -05:00
2012-04-15 12:37:19 -04:00
2012-04-23 22:28:28 -04:00
2012-03-12 17:05:21 -07:00
2010-07-12 12:57:54 -07:00
2012-02-23 16:50:45 -05:00
2007-10-10 16:55:54 -07:00
2012-02-23 16:50:45 -05:00
2011-07-01 17:33:19 -07:00
2012-04-20 21:22:30 -04:00
2011-10-31 19:30:30 -04:00
2012-03-12 17:05:21 -07:00