From: dual_bereta_r0x <dual_bereta_r0x@arenanetwork.com.br>
To: linux-kernel@vger.kernel.org
Cc: kuznet@ms2.inr.ac.ru, davem@redhat.com
Subject: Re: EAGAIN and Linux 2.6 IPsec patch
Date: Tue, 23 Mar 2004 11:32:40 -0300 [thread overview]
Message-ID: <40604A88.3010207@arenanetwork.com.br> (raw)
Is this fixed already? Please cc me too.
On Tue, 30 Sep 2003 15:41:51 +0400
Alexey <kuznet@ms2.inr.ac.ru> wrote:
Hello!
> The following (untested) patch tries to do that.
This does not work and has no chances to do. We have already discussed
this, actually. You can get reasoning from saved mailbox, I think.
To resume, proto->connect() method must not ever block.
Alexey
PS. I think I am back to life, so this time I am honest telling
this bug is going to be fixed properly.
-
FreeS/WAN design list.
https://mj2.freeswan.org/cgi-bin/mj_wwwusr/domain=mj2.freeswan.org to
unsubscribe
On Tue, 30 Sep 2003 21:34:24 +1000
Herbert Xu <herbert@gondor.apana.org.au> wrote:
> OK, this looks like a bug that is independent of the packet queueing
issue.
>
> TCP/UDP connects do a route/IPSEC lookup to determine information
> about the connection. The IPSEC lookup can fail with EAGAIN if the
> policy is in place without any SAs.
>
> Since connect already has an O_NONBLOCK bit we should make it try
> harder if it is clear.
>
> The following (untested) patch tries to do that.
Please don't do this, any attempt to fix the EAGAIN behavior
with hacks like this are riddled with problems.
Several patches nearly identical to your's have been submitted
in the past.
Alexey is supposed to work on support for unresolved routes, which
is the proper way to fix this problem.
-
FreeS/WAN design list.
https://mj2.freeswan.org/cgi-bin/mj_wwwusr/domain=mj2.freeswan.org to
unsubscribe
--
dual_bereta_r0x -- Alexandre Hautequest
ArenaNetwork Lan House & Cyber -- www.arenanetwork.com.br
reply other threads:[~2004-03-23 14:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40604A88.3010207@arenanetwork.com.br \
--to=dual_bereta_r0x@arenanetwork.com.br \
--cc=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome