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:09:45 +0000 (19:09 -0800)
commita66034810666e84377e167ad88ea961caa8b4d17
tree99ce818c0ca29663e88b121831a31ee9cf067947
parentf87d3302c4e01189c437fafa4f0639c604962b18
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>
datapath/datapath.c