[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120426.061417.1835457785025147124.davem@davemloft.net>
Date: Thu, 26 Apr 2012 06:14:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xemul@...allels.com, xemul@...red.ru
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] tcp repair: Fix unaligned access when repairing
options (v2)
From: Pavel Emelyanov <xemul@...red.ru>
Date: Thu, 26 Apr 2012 13:43:04 +0400
> From: Pavel Emelyanov <xemul@...allels.com>
>
> 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@...allels.com>
Seems to have worked this time, applied :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists