]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: read ospf6 socket until failure
authorPat Ruddy <pat@voltanet.io>
Wed, 3 Mar 2021 11:59:30 +0000 (11:59 +0000)
committerPat Ruddy <pat@voltanet.io>
Fri, 18 Jun 2021 08:40:42 +0000 (09:40 +0100)
commitaa6a96ba78bacb2792f2a6c26b6873b3ff4e35b8
tree4456cb2e9b7ac2a91b3302bbc1c54bf9986a1212
parentec44732ea3e9a84639defc4f054e017f7087fe05
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