--- src/sys/net/ip_mroute/ip_mroute.c 2004/06/04 07:45:46 1.13 +++ src/sys/net/ip_mroute/ip_mroute.c 2004/08/03 01:59:58 1.14 @@ -2340,7 +2340,7 @@ del_bw_upcall(struct bw_upcall *req) /* Find the bw_meter entry to delete */ for (prev = NULL, x = mfc->mfc_bw_meter; x != NULL; - x = x->bm_mfc_next) { + prev = x, x = x->bm_mfc_next) { if ((BW_TIMEVALCMP(&x->bm_threshold.b_time, &req->bu_threshold.b_time, ==)) && (x->bm_threshold.b_packets == req->bu_threshold.b_packets) &&