[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100427.125653.235688835.davem@davemloft.net>
Date: Tue, 27 Apr 2010 12:56:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] rps: inet_rps_save_rxhash() argument is
not const
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 27 Apr 2010 14:42:51 +0200
> const qualifier on sock argument is misleading, since we can modify rxhash.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
It's a shame that because of the cast the compiler can't see this.
Instead it would be nice if the compiler only allowed casts from
a const pointer to another const pointer.
--
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