netdev
[Top] [All Lists]

Re: [ESP] Only one algorithm is required

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [ESP] Only one algorithm is required
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sun, 15 Aug 2004 19:55:46 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040814104807.GA20572@xxxxxxxxxxxxxxxxxxx>
References: <20040814104807.GA20572@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 14 Aug 2004 20:48:07 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> I've also added encap_type checks for every transform.  This means
> that people attaching encap objects to AH/IPCOMP/IPIP will now get
> errors.  That should be fine as no major KM does this.
> 
> Please note that the error returned is now EINVAL instead of
> ENOPROTOOPT.  This shouldn't break anything since KMs only test
> the errno from setsockopt() for NAT-T support rather than add_sa
> where it would be too late anyway.

Applied.

<Prev in Thread] Current Thread [Next in Thread>