[Bug 267555] mmap of dsp device fails if sound buffer is not a multiple of page size
Date: Fri, 04 Nov 2022 18:06:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267555 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ad370f7658ba59811d02c04032ac33ef787f752f commit ad370f7658ba59811d02c04032ac33ef787f752f Author: Florian Walpen <dev@submerge.ch> AuthorDate: 2022-11-04 18:04:26 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-11-04 18:05:34 +0000 sound(4): Fix memory map of /dev/dsp devices when buffer size is not a multiple of PAGE_SIZE. By using sndbuf_getallocsize() instead of sndbuf_getsize() in dsp_mmap_single(). PR: 267555 MFC after: 1 week Sponsored by: NVIDIA Networking sys/dev/sound/pcm/dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.