| To: | "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [AH4] Save daddr iff options are present |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 24 Jul 2004 11:44:15 +1000 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040523i |
Hi Dave: 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. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] pkt_cls.h incompatiables, YOSHIFUJI Hideaki / 吉藤英明 |
|---|---|
| Next by Date: | [AH6] Replace skb by iph in clear_mutable_options, Herbert Xu |
| Previous by Thread: | [BK PATCH] 2.6 SCTP updates, Sridhar Samudrala |
| Next by Thread: | Re: [AH4] Save daddr iff options are present, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |