aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/fstack/fstack.patch
diff options
context:
space:
mode:
authorsharath <sharathkumarboyanapally@gmail.com>2019-01-21 18:28:22 +0530
committersharath <sharathkumarboyanapally@gmail.com>2019-01-29 10:01:35 +0530
commit71b40478b341e21199bcdc1943a373270ee50d0e (patch)
treecea34d164876908835ba52a82ed7438d68730b24 /stacks/fstack/fstack.patch
parent74c9aed15303d388d7d0429128bc3af96f7eb45c (diff)
Feat: F-stack Integrationnone-dpdk
Change-Id: I0eec7617ff6782192bcbf6e4c41630f585bed54c Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
Diffstat (limited to 'stacks/fstack/fstack.patch')
-rw-r--r--stacks/fstack/fstack.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/stacks/fstack/fstack.patch b/stacks/fstack/fstack.patch
new file mode 100644
index 0000000..40dfade
--- /dev/null
+++ b/stacks/fstack/fstack.patch
@@ -0,0 +1,12 @@
+diff --git a/lib/ff_syscall_wrapper.c b/lib/ff_syscall_wrapper.c
+index cfc407c..7b61aa6 100644
+--- a/lib/ff_syscall_wrapper.c
++++ b/lib/ff_syscall_wrapper.c
+@@ -710,6 +710,7 @@ ff_fcntl(int fd, int cmd, ...)
+ argp = va_arg(ap, uintptr_t);
+ va_end(ap);
+
++ curthread->td_retval[0] = 0;
+ if ((rc = kern_fcntl(curthread, fd, cmd, argp)))
+ goto kern_fail;
+ rc = curthread->td_retval[0];