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:43:51 -0700 |
commit | 53bf7029adbff1361b315ed22177b1636db41f0f (patch) | |
tree | 9f90d9159b8fd45678a7f0a1cacc9601101db06e /lib | |
parent | 83afc1af74177662d67d139c15624acb713a8f96 (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')
-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")" |