| To: | Patrick McHardy <kaber@xxxxxxxxx> |
|---|---|
| Subject: | Re: More IPSEC trouble |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 12 Mar 2005 12:35:15 +1100 |
| Cc: | Steve Hill <steve@xxxxxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx> |
| In-reply-to: | <42323125.20706@trash.net> |
| References: | <E1D9Ymg-0001x0-00@gondolin.me.apana.org.au> <Pine.LNX.4.61.0503111453320.18067@sorbus2.navaho> <42323125.20706@trash.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
On Sat, Mar 12, 2005 at 01:00:37AM +0100, Patrick McHardy wrote: > > Thanks for tracking this down, we need to unlock the state before > calling icmp_send(). This patch fixes it, it should apply to 2.6.10 > if you replace dst_mtu() by dst_pmtu() in the context. Good catch. However let's try to avoid spreading lock/unlock calls around if possible. Since tunnel_check_size only looks at the state to determine whether it's tunnel mode, it doesn't need to hold the lock at all. 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: 2.6.11: USB broken on nforce4, ipv6 still broken, centrino speedstep even more broken than in 2.6.10, Andrew Morton |
|---|---|
| Next by Date: | Re: More IPSEC trouble, Patrick McHardy |
| Previous by Thread: | Re: More IPSEC trouble, Patrick McHardy |
| Next by Thread: | Re: More IPSEC trouble, Patrick McHardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |