summaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix/garbage.c')
-rw-r--r--net/unix/garbage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index c36757e72844..f81854d74c7d 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
@@ -108,6 +108,9 @@ struct sock *unix_get_socket(struct file *filp)
108 /* PF_UNIX ? */ 108 /* PF_UNIX ? */
109 if (s && sock->ops && sock->ops->family == PF_UNIX) 109 if (s && sock->ops && sock->ops->family == PF_UNIX)
110 u_sock = s; 110 u_sock = s;
111 } else {
112 /* Could be an io_uring instance */
113 u_sock = io_uring_get_socket(filp);
111 } 114 }
112 return u_sock; 115 return u_sock;
113} 116}