Skip to content

Commit

Permalink
Merge "Program flow with invalid key src nexthop, so that rpf check f…
Browse files Browse the repository at this point in the history
…ails" into R2.20
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 18, 2015
2 parents 37c92a1 + 934b07d commit a08f1b0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dp-core/vr_flow.c
Expand Up @@ -1071,14 +1071,6 @@ vr_flow_req_is_invalid(struct vrouter *router, vr_flow_req *req,
return -EINVAL;
}

/*
* for delete, we need not validate nh_index from incoming request
*/
if (req->fr_flags & VR_FLOW_FLAG_ACTIVE) {
if (!__vrouter_get_nexthop(router, req->fr_src_nh_index))
return -EINVAL;
}

return 0;
}

Expand Down

0 comments on commit a08f1b0

Please sign in to comment.