ofproto-dpif: Unset DPIF_FP_MODIFY flag when creating a new flo
authorAndy Zhou <azhou@nicira.com>
Tue, 30 Jul 2013 17:52:34 +0000 (10:52 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 30 Jul 2013 18:30:41 +0000 (11:30 -0700)
commit1b61b510619f2a2a9e0783d9cb40d1f78137e5f5
tree95325d0afe8dc09e164cfaa1f1111158d41ee331
parent3de6893a9c7cfb85f57ae4ae7378c17bbb24d43f
ofproto-dpif: Unset DPIF_FP_MODIFY flag when creating a new flo

Remove the DPIF_FP_MODIFY flag when creating a new flow. When flows arrive in
a batch, userspace may push down multiple unique flow definitions that
overlap when wildcards are applied. Kernels support flow wildcarding
will reject these flow as duplicates (EEXIST), which will be logged
at a lower logging level.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c