possible bug
Luben Karavelov
luben at bgone.net
Fri Jun 22 23:20:01 CEST 2001
hello, I am using bird as bgp router and I have found a
possible severe bug, that may not be limited only to
the bgp functionality.
if the router state machine is in state "feed" and the
bgp peer drops the connection (I think that this is the
reason, because it is reproducable) the bird daemon dies
in /lib/io.c at line 976:
if (connect(s->fd, (struct sockaddr *) &sa, sizeof(sa)) >= 0)
sk_tcp_connected(s);
> else if (errno != EINTR && errno != EAGAIN && errno != EINPROGRESS)
s->err_hook(s, errno);
because errno == EBADF.
I am not a skilled C programmer, so I can't fix this issue. I have found it in
1.0.4 but this bug is in 1.0.5 also.
I hope to be helpfull to somebody that knows how to fix it.
Luben
--
_________________________________________________________
Luben Karavelov [phone] +359 2 9877088
Network Administrator [ICQ#] 34741625
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20010623/4cdf7eac/attachment.asc>
More information about the Bird-users
mailing list