Re: [ovs-dev] [PATCH] ofproto: Return error codes for Rule insertions/deletions

2018-06-16 Thread Aravind Prasad
> Currently, rule_insert() and rule_delete() ofproto provider APIs do not > > > have return values. There are some possible scenarios where rule insertions > > and deletions can fail at run-time even though the static checks during > > rule_construct() had passed previously. > > > > Some possible

Re: [ovs-dev] [PATCH] ofproto: Return error codes for Rule insertions/deletions

2018-06-16 Thread Ben Pfaff
On Sat, Jun 16, 2018 at 06:14:38PM +0530, Aravind Prasad wrote: > Currently, rule_insert() and rule_delete() ofproto provider APIs do not > > > have return values. There are some possible scenarios where rule insertions > > and deletions can fail at run-time even though the static checks during

[ovs-dev] [PATCH] ofproto: Return error codes for Rule insertions/deletions

2018-06-16 Thread Aravind Prasad
Currently, rule_insert() and rule_delete() ofproto provider APIs do not have return values. There are some possible scenarios where rule insertions and deletions can fail at run-time even though the static checks during rule_construct() had passed previously. Some possible scenarios for fail