delay required between configuring and binding to an IPv6 address?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear fellow penguins,

If I configure an IPv6 address via netlink sockets and then immediately run an application that creates an AF_INET6, TCP socket and tries to bind to that IPv6 address, bind() fails with EADDRNOTAVAIL.

If I insert a 1 second delay between the configuration of the address and the attempt to bind(), the same thing happens.

If I insert a 2 second delay, bind() succeeds.

The only difference is the period of the delay.

Is this supposed to be happening? If so, what is the required delay period? And why should this be happening?

Running linux version 2.6.14.2 on a PPC32 processor.

Thanks in advance,

Jeff Haran
Brocade Communications Systems
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux