]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix O_NONBLOCK on outgoing connects
authorVipin Kumar <vipin@cumulusnetworks.com>
Thu, 9 Jan 2014 00:31:22 +0000 (00:31 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 15 May 2014 18:27:12 +0000 (20:27 +0200)
commit48fc05fb7e6ee44db9f73f3194bfd4738b7f9dc1
treee0c11382f69fd3159600d18150f846dc104d8e43
parent6aa136f1eaeb0dfc1e39e6c2cd6380a399ef126f
bgpd: fix O_NONBLOCK on outgoing connects

BGP was setting sockets to be non-blocking only for the accepted passive
peers.  As a fix, setting the BGP sockets to be non-blocking even for
the active peers.

Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com>
Reviewed-by: Pradosh Mohapatra <pmohapat@cumulusnetworks.com>
Reviewed-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
[DL: patch split, this is item 1.]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_network.c