From: Jesse Gross Date: Sat, 16 Jan 2010 00:24:53 +0000 (-0500) Subject: netdev-linux: Avoid potential issues with unset FD. X-Git-Tag: v1.0.0~259^2~275 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=49a6a1636f849eba12fb444651ee818628426f0d;hp=49a6a1636f849eba12fb444651ee818628426f0d;p=sliver-openvswitch.git netdev-linux: Avoid potential issues with unset FD. Never close the file descriptor if it is 0, since it is never a valid FD in this context. Also initialize the FD to -1 so that it is never set to a valid but incorrect value. ---