Subject: Re: [XFRM]: constify 'struct xfrm_type'

From: Eric Dumazet <[email-masked]>
Date: Thu, 24 Jan 2008 19:23:53 +0100

Joe Perches a écrit :
> On Thu, 2008-01-24 at 12:26 +0100, Eric Dumazet wrote:
>> -	struct xfrm_type *type;
>> +	const struct xfrm_type *type;
> 
> Perhaps const foo * const bar; for most or all of these
> conversions?
> 

Hum...

Having const data is nice because moving them from .data to .rodata,
but what would be practical gains to use a const pointer ???