Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2022 12:42:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 267555] mmap of dsp device fails if sound buffer is not a multiple of page size
Message-ID:  <bug-267555-227-ucPlvNrWyQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267555-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267555-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267555

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Df0a3d2341d345121c92e01f03d439b054=
f69793c

commit f0a3d2341d345121c92e01f03d439b054f69793c
Author:     Florian Walpen <dev@submerge.ch>
AuthorDate: 2022-11-04 18:04:26 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-11-12 12:00:01 +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
    Sponsored by:   NVIDIA Networking

    (cherry picked from commit ad370f7658ba59811d02c04032ac33ef787f752f)

 sys/dev/sound/pcm/dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267555-227-ucPlvNrWyQ>