git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
49a6a16
)
netdev-linux: Avoid potential issues with unset FD.
author
Jesse Gross
<jesse@nicira.com>
Sat, 16 Jan 2010 00:24:53 +0000
(19:24 -0500)
committer
Jesse Gross
<jesse@nicira.com>
Mon, 18 Jan 2010 23:23:14 +0000
(18:23 -0500)
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.
No differences found