diff options
author | Ben Pfaff <blp@nicira.com> | 2012-05-13 16:31:15 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-05-14 09:37:17 -0700 |
commit | 66fb94b510164047e571af9a2bab8046bb9e192f (patch) | |
tree | 29335a174974b60a23ad0a556fb61b228f26df14 /lib/cfm.c | |
parent | d58c5bc2d854ce601338d0785c8086d619a16135 (diff) |
cfm: Avoid null pointer dereference in cfm_process_heartbeat().
Found by clang.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/cfm.c')
-rw-r--r-- | lib/cfm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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")" |