cvs commit: src/sys/netinet ip_divert.c

Gleb Smirnoff glebius at freebsd.org
Thu Nov 18 13:55:49 GMT 2004


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


More information about the cvs-src mailing list