]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Don't leak socket with failure condition
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 8 Feb 2017 13:26:07 +0000 (08:26 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 8 Feb 2017 13:26:07 +0000 (08:26 -0500)
commit95c54276f76cd6b9bc628c2a484d9937813324ed
treeccec5cce2d3bebb9a3aa409b7029b33361c7433b
parent90d84f92ae9eb9e277b0669fdc830195c71b0fa8
zebra: Don't leak socket with failure condition

Don't leak a socket when we are unable to set it
as non-blocking and warn the user as appropriate.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_ptm.c