Re: kern/38554: changing interface ipaddress doesn't seem to work

From: Bruce M Simpson (bms_at_spc.org)
Date: 07/04/04

  • Next message: FreeBSD bugmaster: "Current problem reports assigned to you"
    Date: Sun, 4 Jul 2004 16:30:39 +0100
    To: Robert Watson <rwatson@freebsd.org>
    
    

    On Sat, Jul 03, 2004 at 05:53:33PM -0400, Robert Watson wrote:
    > Temporarily connecting sockets/pcbs during a datagram send with an
    > explicit address (i.e., sendto()) occurs in both the UDP code and UNIX
    > domain socket code. Since this is expensive, and also increases the
    > potential for races of various sorts, it would be nice to do this in a
    > more efficient form where possible.

    Actually, iedowse@ pointed out that we now use in_pcb(bind|connect)_setup()
    as opposed to doing a full in_pcb(connect|bind)() in udp_output(), so this
    optimization has been done in -CURRENT (but not in -STABLE).

    BMS
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: FreeBSD bugmaster: "Current problem reports assigned to you"