netdev
[Top] [All Lists]

Re: [AH6] Disallow mutable bits after AH header

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [AH6] Disallow mutable bits after AH header
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 28 Jul 2004 09:11:48 -0700
Cc: kazunori@xxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040728114632.GA7103@xxxxxxxxxxxxxxxxxxx>
References: <20040723135320.GA26000@xxxxxxxxxxxxxxxxxxx> <20040723133737.447a9598.davem@xxxxxxxxxx> <20040728114632.GA7103@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 28 Jul 2004 21:46:32 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> In that patch I removed the nh_offset parameter to ipv6_clear_mutable_options.
> That broke ah6_input() because it relies on that variable to set the nexthdr.
> 
> The following patch fixes this by moving this work out to the caller
> xfrm6_rcv() where the information is already available.  It also removes
> an unnecessary call to ip6_find_1stfragopt() in xfrm6_rcv() since nhoffp
> already points to the nexthdr preceding the current header.

Applied, thanks.

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