projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f71fb70
)
in-band: Make in_band_create() always initialize its output argument.
author
Ben Pfaff
<blp@nicira.com>
Tue, 2 Nov 2010 23:20:36 +0000
(16:20 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 5 Nov 2010 17:20:02 +0000
(10:20 -0700)
This isn't a bug fix but it seems like a good thing to do.
ofproto/in-band.c
patch
|
blob
|
history
diff --git
a/ofproto/in-band.c
b/ofproto/in-band.c
index 639f9f55a16397f9b2891dcbf40d21ebea4cba19..efc9c8acc27d6e8d58fbe49e484042280b63e405 100644
(file)
--- a/
ofproto/in-band.c
+++ b/
ofproto/in-band.c
@@
-768,6
+768,7
@@
in_band_create(struct ofproto *ofproto, struct dpif *dpif,
struct netdev *local_netdev;
int error;
+ *in_bandp = NULL;
error = dpif_port_get_name(dpif, ODPP_LOCAL,
local_name, sizeof local_name);
if (error) {