]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix label manager EAGAIN error
authorEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 18 Jun 2019 13:47:02 +0000 (15:47 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 24 Jun 2019 09:35:44 +0000 (11:35 +0200)
commit614a0f861301788f0743ef6ad1c720b8e59d53ba
tree872294c617f2b72b0eeeaba3eddfe2b663dadf6e
parentea63ff6bbd15e1f105fedee071ba3917daa41c7a
zebra: fix label manager EAGAIN error

when receiving an EAGAIN while trying to read the header
of a ZAPI message, we were erroneously continuing as if
everything was fine, which could crash zebra. Fix this
by returning and letting the re-armed read task deal with
this

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
zebra/label_manager.c