dpif-linux: Avoid pessimal behavior when kernel-to-user buffers overflow.
authorBen Pfaff <blp@nicira.com>
Wed, 23 May 2012 21:56:20 +0000 (14:56 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Jun 2012 21:40:34 +0000 (17:40 -0400)
When a kernel-to-user Netlink buffer overflows, the kernel reports
ENOBUFS without passing along an actual message.  When it does this,
we should immediately try again, because we know that there is a
message waiting, instead of reporting the error to the caller.

This improves the OVS response rate to "hping3 --flood" traffic by
a few percentage points in my testing.

Signed-off-by: Ben Pfaff <blp@nicira.com>

No differences found