Use a separate thread for periodic RAs
authorApollon Oikonomopoulos <apollon@noc.grnet.gr>
Mon, 15 Nov 2010 19:13:40 +0000 (21:13 +0200)
committerApollon Oikonomopoulos <apollon@noc.grnet.gr>
Mon, 15 Nov 2010 19:13:40 +0000 (21:13 +0200)
commit83027c6b25b9f75add852331b750072f1e24aca5
tree716703533e005d0ef37a006e8ab250700562ec95
parent948d4918c1c1cf59ef8fb49081e05ae83e68366a
Use a separate thread for periodic RAs

Periodic RAs can take a _long_ time with many interfaces. The bottleneck
seems to lie in bind() send send() with AF_PACKET sockets. So, we spawn
a separate thread to be able to handle requests in the mean time.

Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
nfdhcpd