cvs commit: src/sys/netinet udp_usrreq.c

Ian Dowse iedowse at maths.tcd.ie
Wed Jun 16 01:16:30 PDT 2004


In message <200406160541.i5G5f0gR002614 at repoman.freebsd.org>, Bruce M Simpson w
rites:
>bms         2004-06-16 05:41:00 UTC
>  Disconnect a temporarily-connected UDP socket in out-of-mbufs case. This
>  fixes the problem of UDP sockets getting wedged in a connected state (and
>  bound to their destination) under heavy load.
>  Temporary bind/connect should probably be deleted in future
>  as an optimization, as described in "A Faster UDP" [Partridge/Pink 1993].

This change is probably correct for RELENG_4, but it should be
unnecessary in -CURRENT. We no longer temporarily connect UDP
sockets in udp_output(); see revision 1.127 (October 2002).

Ian


More information about the cvs-src mailing list