]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Suppress error messages on megaflow updates
authorAndy Zhou <azhou@nicira.com>
Mon, 3 Feb 2014 01:08:06 +0000 (17:08 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 5 Feb 2014 06:32:38 +0000 (22:32 -0800)
commitf48aa000baa7971a97086be2751f7c699052c47f
treec3a16743141b36b972590bb152b5a52bebc26459
parent47435dddcfda0dad2c4069fcffde23def9a4f99f
openvswitch: 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>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c