]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Better dispatch of incoming connections
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 2 Jan 2019 15:01:21 +0000 (16:01 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 2 Jan 2019 15:01:21 +0000 (16:01 +0100)
commit470740f97bfa61c3c5c79d6f2d92f2014a119031
tree9ca334919f8dd10268386693b59440f396f8f629
parente16b0aef31adf7000c22430adc3ceb9fc969ae14
BGP: Better dispatch of incoming connections

Since v2 we have multiple listening BGP sockets, and each BGP protocol
has associated one of them. Use listening socket that accepted the
incoming connection as a key in the dispatch process so only BGP
protocols assocaited with that listening socket can be selected.
This is necesary for proper dispatch when VRFs are used.
proto/bgp/bgp.c
sysdep/unix/io.c