From: Justin Pettit Date: Tue, 25 Aug 2009 20:17:26 +0000 (-0700) Subject: datapath: Return EFBIG instead of EXFULL when no room in flow table X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f0b85d66b3ad39477796edd29a1e763dbe43313;p=openvswitch datapath: Return EFBIG instead of EXFULL when no room in flow table The EXFULL errno is only defined in Linux. While this datapath is Linux-specific, the userspace that interacts with it is not. --- diff --git a/datapath/datapath.c b/datapath/datapath.c index f506324c..5092ced0 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -865,7 +865,7 @@ retry: bucket = dp_table_lookup_for_insert(table, &uf.flow.key); if (!bucket) { /* No such flow, and the slots where it could go are full. */ - error = uf.flags & ODPPF_CREATE ? -EXFULL : -ENOENT; + error = uf.flags & ODPPF_CREATE ? -EFBIG : -ENOENT; goto error; } else if (!*bucket) { /* No such flow, but we found an available slot for it. */