[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LWIP PATCH] sockets: add prefix to FWRITE and FREAD



These are internal vfscore flags. And they got prefixes
recently. Update lwip to match them

Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx>
---
 sockets.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sockets.c b/sockets.c
index 3a2aa9e..0cf22de 100644
--- a/sockets.c
+++ b/sockets.c
@@ -112,7 +112,7 @@ static int sock_fd_alloc(struct vnops *v_op, int sock_fd)
 
        /* Put things together, and fill out necessary fields */
        file->vfscore_file.fd = vfs_fd;
-       file->vfscore_file.f_flags = FWRITE | FREAD;
+       file->vfscore_file.f_flags = UK_FWRITE | UK_FREAD;
        file->vfscore_file.f_count = 1;
        file->vfscore_file.f_dentry = s_dentry;
 
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.