datapth: Suppress error messages on megaflow updates
authorAndy Zhou <azhou@nicira.com>
Fri, 31 Jan 2014 23:47:58 +0000 (15:47 -0800)
committerAndy Zhou <azhou@nicira.com>
Sat, 1 Feb 2014 03:12:43 +0000 (19:12 -0800)
commitb4d66748123510980af4a45b96b2eb6cf4f1fcbe
tree370a53a4bc1a37cbe69fe0eb147c812ea94ed1b6
parentfa10709d1e2413ff1b5ad667595338041bbeb76b
datapth: Suppress error messages on megaflow updates

With subfacets, we'd expect megaflow updates message to carry
the original micro flow. If not, EINVAL is returned and kernel
logs an error message.  Now that the user space subfacet layer is
removed, it is expected that flow updates can arrive with a
micro flow other than the original. Change the return code to
EEXIST and remove the kernel error log message.

Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c