diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-03-31 22:37:02 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-03-31 22:37:02 +0300 |
commit | f43359501e2d70ba8a68f2302c1009d9194fc60d (patch) | |
tree | 5fb84bd31e4232c3b3af397c4956ba53b613c064 /net/unix/unix_bpf.c | |
parent | 9fdc1605c504204e0fdec7892b29c916579e06f3 (diff) | |
parent | e3720f92e0237921da537e47a0b24e27899203f8 (diff) | |
download | linux-f43359501e2d70ba8a68f2302c1009d9194fc60d.tar.xz |
Merge tag 'asoc-fix-v6.3-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.3
More fixes for v6.3, plus a few new trivial device ID additions.
Almost all of this is for the Intel drivers, though there is one
core fix from Shengjiu which ensures that format constraints are
correctly applied in some cases where they were missed.
Diffstat (limited to 'net/unix/unix_bpf.c')
-rw-r--r-- | net/unix/unix_bpf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/unix/unix_bpf.c b/net/unix/unix_bpf.c index e9bf15513961..2f9d8271c6ec 100644 --- a/net/unix/unix_bpf.c +++ b/net/unix/unix_bpf.c @@ -54,6 +54,9 @@ static int unix_bpf_recvmsg(struct sock *sk, struct msghdr *msg, struct sk_psock *psock; int copied; + if (!len) + return 0; + psock = sk_psock_get(sk); if (unlikely(!psock)) return __unix_recvmsg(sk, msg, len, flags); |