Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2002 06:56:21 +0300 (MSK)
From:      "Serguei E. Leontiev" <leo@sai.msu.ru>
To:        <iedowse@FreeBSD.org>
Cc:        <freebsd-bugs@FreeBSD.org>
Subject:   Re: kern/8206: [patch] Unconected UDP socket declined, if not room for prepending IP/UDP header
Message-ID:  <Pine.LNX.4.33.0201200632490.28991-100000@lnfm1.sai.msu.ru>
In-Reply-To: <200201192245.g0JMjRt78204@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Jan 2002 iedowse@FreeBSD.org wrote:

> Date: Sat, 19 Jan 2002 14:45:27 -0800 (PST)
> From: iedowse@FreeBSD.org
> To: leo@sai.msu.ru, iedowse@FreeBSD.org, freebsd-bugs@FreeBSD.org
> Subject: Re: kern/8206: [patch] Unconected UDP socket declined,
>      if not room for prepending IP/UDP header
>
> Synopsis: [patch] Unconected UDP socket declined, if not room for prepending IP/UDP header
>
> State-Changed-From-To: open->feedback
> State-Changed-By: iedowse
> State-Changed-When: Sat Jan 19 14:45:00 PST 2002

Oh, error correction in Real-Time (latence time - 4 year :)

> State-Changed-Why:
>
> Does this problem still exist in more recent releases?

Probably.

Now this problem located on src/sys/netinet/udp_usrreq.c:719
And source have similar new problem on src/sys/netinet/udp_usrreq.c:757

Short description both problem:

Socket may be "temporary" connected on src/sys/netinet/udp_usrreq.c:704,
if addr != NULL
And socket don't disconnected by error condition and return.

> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=8206

P.S.

Now I don't have test system for experimental checking this (and other
errors), because test system demounting few years ago.

But source code on
<http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/udp_usrreq.c?annotate=1.100>;
have this problem.

P.P.S.

On src/sys/netinet/udp_usrreq.c:759, function make "goto release" without
restore splx(s), if addr != NULL.

-- 
Sorry for my bests English.

Serguei E. Leontiev w:+7(095)939-2382 USSR, Moscow, Universitetskij 13
Sternberg Astronom. w:+7(095)289-4367 USSR, Moscow, 127018, Obraztsova 38
Institute, MSU      h:+7(095)318-1146 USSR, Moscow, 113303, Kakhovka 6-40
                    m:+7(902)686-1081 SMS: <http://www.mts.ru/sms>;
                                           <mailto:serge3-sms@mbct.ru>
           <http://lnfm1.sai.msu.ru/~leo>;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0201200632490.28991-100000>