projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58c5bc
)
cfm: Avoid null pointer dereference in cfm_process_heartbeat().
author
Ben Pfaff
<blp@nicira.com>
Sun, 13 May 2012 23:31:15 +0000
(16:31 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 14 May 2012 16:37:17 +0000
(09:37 -0700)
Found by clang.
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/cfm.c
patch
|
blob
|
history
diff --git
a/lib/cfm.c
b/lib/cfm.c
index c2e2a6ca951c198b31264992489a610435319a9a..41a27a07e247d8af0994f3f4c4c189b39caf1ced 100644
(file)
--- a/
lib/cfm.c
+++ b/
lib/cfm.c
@@
-606,7
+606,7
@@
cfm_process_heartbeat(struct cfm *cfm, const struct ofpbuf *p)
if (ccm_rdi) {
cfm_fault |= CFM_FAULT_RDI;
VLOG_DBG("%s: RDI bit flagged from RMP %"PRIu64, cfm->name,
-
rmp->
mpid);
+
ccm_
mpid);
}
VLOG_DBG("%s: received CCM (seq %"PRIu32") (mpid %"PRIu64")"