]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: read ospf6 socket until failure 8786/head
authorPat Ruddy <pat@voltanet.io>
Wed, 3 Mar 2021 11:59:30 +0000 (11:59 +0000)
committerPat Ruddy <pat@voltanet.io>
Thu, 3 Jun 2021 09:58:40 +0000 (10:58 +0100)
commit6d497386b3dc7598e983ffdd12b436852e411136
tree2cdec34ecc5b1fa7d99bf03e6eb8557b7ea6ce3d
parent16c012e1e1901d376e0f096d536b7bc9515ea884
ospf6d: read ospf6 socket until failure

To ensure we read all the datagrams availabe from a socket when the
read task is scheduled, make the read helper return and error or
continue enum and loop unitl an error is received.
This requires the read from the socket to be non blocking

Signed-off-by: Pat Ruddy <pat@voltanet.io>
ospf6d/ospf6_message.c
ospf6d/ospf6_network.c