[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121217072544.GL18940@secunet.com>
Date: Mon, 17 Dec 2012 08:25:44 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: RongQing Li <roy.qing.li@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: XFRM: Could we change ESP padding?
On Mon, Dec 17, 2012 at 02:56:47PM +0800, RongQing Li wrote:
> 2012/12/17 Steffen Klassert <steffen.klassert@...unet.com>:
> >
> > RFC 4303 says that the receiver should inspect the padding field,
> > so we are free to do it or not. You can find a comment that explains
> > why we don't do it in the esp_input_done2() function ;-)
> >
> Thanks.
>
> But I see BSD has implemented it, and cisco device has similar implmentation.
>
The comment at the place where the padding field inspection should be done
is rather old. I always respected this when I came accross this code, but
I would not mind to have it implemented. Not sure if somebody still
remembers exactly why it was not implemented.
--
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