[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AEF3DD5.5050408@gmail.com>
Date: Mon, 02 Nov 2009 15:15:17 -0500
From: William Allen Simpson <william.allen.simpson@...il.com>
To: Joe Perches <joe@...ches.com>
CC: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [net-next-2.6 PATCH v4 3/3] TCPCT part 1c: initial SYN exchange
with SYNACK data
Joe Perches wrote:
> On Mon, 2009-11-02 at 13:10 -0500, William Allen Simpson wrote:
>> +static inline struct tcp_extend_values *tcp_xv(const struct request_values *rvp)
>> +{
>> + return (struct tcp_extend_values *)rvp;
>> +}
>>...
> I don't know, but I do have a bias against casting
> const to non-const.
>
Oh dear. That's how everything in both include/linux/tcp.h and
include/net/tcp.h is done.... As I said, we've had really bad luck
using examples from the existing code base.
If somebody else submitted a patch to change all the rest, I'd be
content to follow along.
--
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