netdev
[Top] [All Lists]

Re: [NATT] Fix uh->len with IP options

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [NATT] Fix uh->len with IP options
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 9 Jul 2004 17:05:02 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040709114802.GA13344@gondor.apana.org.au>
References: <20040709114802.GA13344@gondor.apana.org.au>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 9 Jul 2004 21:48:02 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> I just noticed that the UDP header length in esp4_output() is incorrect
> when IP options are present (in transport mode).  This patch fixes exactly
> that.

At first I thought you should be using top_iph to compute the options
length, but now I see why it's correct to be using 'iph'.

Applied, thanks.

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