Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
37eba0d
)
tap_v2: coverity strikes, again!
96/9696/2
author
Steven
<sluong@cisco.com>
Sun, 3 Dec 2017 04:17:27 +0000
(20:17 -0800)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Mon, 4 Dec 2017 11:27:03 +0000
(11:27 +0000)
fd is not close when IOCTL encounters an error which causes resource
leak. The fix is to initialize fd to -1. At return, close fd if
it has a valid value.
Change-Id: I53c4f5c71ca0f556fb6586f5849e7cb622632d8f
Signed-off-by: Steven <sluong@cisco.com>
No differences found