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:13:09 +0000 (11:13 -0700)
commit0f74f625166ed49d7623bd1a3216a1d73fdeb208
tree180ab3fd904a6619c9938174e1b3972450a5f3fc
parente6d76c682eacd8008a47af682d0d7ca74ffd23f4
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