]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
sockets: add prefix to FWRITE and FREAD RELEASE-0.3.1
authorYuri Volchkov <yuri.volchkov@neclab.eu>
Tue, 5 Mar 2019 13:53:15 +0000 (14:53 +0100)
committerFlorian Schmidt <florian.schmidt@neclab.eu>
Wed, 6 Mar 2019 09:40:17 +0000 (10:40 +0100)
These are internal vfscore flags. And they got prefixes
recently. Update lwip to match them

Signed-off-by: Yuri Volchkov <yuri.volchkov@neclab.eu>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
sockets.c

index 3a2aa9ee666fb5863b47e581240bacd777c77568..0cf22de5f49b1227330b1e631b0e72e7ecc61e0a 100644 (file)
--- 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;