Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 16:55:45 +0300
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/netinet ip_divert.c
Message-ID:  <20041118135545.GA24752@cell.sick.ru>
In-Reply-To: <200411181349.iAIDnJ0a058510@repoman.freebsd.org>
References:  <200411181349.iAIDnJ0a058510@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This fixes code path on ng_ksocket used as divert socket. ng_ksocket
records return sockaddr containing divert cookie only if socket
is not connected.

On Thu, Nov 18, 2004 at 01:49:19PM +0000, Gleb Smirnoff wrote:
T> glebius     2004-11-18 13:49:18 UTC
T> 
T>   FreeBSD src repository
T> 
T>   Modified files:
T>     sys/netinet          ip_divert.c 
T>   Log:
T>   - Since divert protocol is not connection oriented, remove SS_ISCONNECTED flag
T>     from divert sockets.
T>   - Remove div_disconnect() method, since it shouldn't be called now.
T>   - Remove div_abort() method. It was never called directly, since protocol
T>     doesn't have listen queue. It was called only from div_disconnect(),
T>     which is removed now.
T>   
T>   Reviewed by:    rwatson, maxim
T>   Approved by:    julian (mentor)
T>   MT5 after:      1 week
T>   MT4 after:      1 month
T>   
T>   Revision  Changes    Path
T>   1.110     +0 -33     src/sys/netinet/ip_divert.c

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041118135545.GA24752>