netdev
[Top] [All Lists]

Re: [AH4] Save daddr iff options are present

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [AH4] Save daddr iff options are present
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sat, 24 Jul 2004 22:35:11 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040724014415.GA5866@xxxxxxxxxxxxxxxxxxx>
References: <20040724014415.GA5866@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 24 Jul 2004 11:44:15 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> This is a little optimisation for AH4.  When I moved the tunnel code out,
> I put the daddr copying code on the main path which is unnecessary since
> daddr is only mutable if IP options are present.
> 
> This patch moves the saving and restoring of daddr under the check for
> the existence of IP options.

Looks good to me, applied.

Thanks Herbert.

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