From 4f0b85d66b3ad39477796edd29a1e763dbe43313 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Tue, 25 Aug 2009 13:17:26 -0700 Subject: [PATCH] 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. --- datapath/datapath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index f506324c1..5092ced01 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. */ -- 2.43.0