2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 13:27:59 +00:00

cfm: Avoid null pointer dereference in cfm_process_heartbeat().

Found by clang.

Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Ben Pfaff 2012-05-13 16:31:15 -07:00
parent d58c5bc2d8
commit 66fb94b510

View File

@ -606,7 +606,7 @@ cfm_process_heartbeat(struct cfm *cfm, const struct ofpbuf *p)
if (ccm_rdi) { if (ccm_rdi) {
cfm_fault |= CFM_FAULT_RDI; cfm_fault |= CFM_FAULT_RDI;
VLOG_DBG("%s: RDI bit flagged from RMP %"PRIu64, cfm->name, VLOG_DBG("%s: RDI bit flagged from RMP %"PRIu64, cfm->name,
rmp->mpid); ccm_mpid);
} }
VLOG_DBG("%s: received CCM (seq %"PRIu32") (mpid %"PRIu64")" VLOG_DBG("%s: received CCM (seq %"PRIu32") (mpid %"PRIu64")"