File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -860,6 +860,14 @@ int io_recv(struct io_kiocb *req, unsigned int issue_flags)
860
860
if (unlikely (!sock ))
861
861
return - ENOTSOCK ;
862
862
863
+ msg .msg_name = NULL ;
864
+ msg .msg_namelen = 0 ;
865
+ msg .msg_control = NULL ;
866
+ msg .msg_get_inq = 1 ;
867
+ msg .msg_controllen = 0 ;
868
+ msg .msg_iocb = NULL ;
869
+ msg .msg_ubuf = NULL ;
870
+
863
871
retry_multishot :
864
872
if (io_do_buffer_select (req )) {
865
873
void __user * buf ;
@@ -874,14 +882,7 @@ int io_recv(struct io_kiocb *req, unsigned int issue_flags)
874
882
if (unlikely (ret ))
875
883
goto out_free ;
876
884
877
- msg .msg_name = NULL ;
878
- msg .msg_namelen = 0 ;
879
- msg .msg_control = NULL ;
880
- msg .msg_get_inq = 1 ;
881
885
msg .msg_flags = 0 ;
882
- msg .msg_controllen = 0 ;
883
- msg .msg_iocb = NULL ;
884
- msg .msg_ubuf = NULL ;
885
886
886
887
flags = sr -> msg_flags ;
887
888
if (force_nonblock )
You can’t perform that action at this time.
0 commit comments