Date: Tue, 08 Aug 2023 19:49:03 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 105943] Network stack may modify read-only mbuf chain copies Message-ID: <bug-105943-7501-aNKyYe9BSm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-105943-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-105943-7501@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=3D105943 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #6 from Ed Maste <emaste@freebsd.org> --- Git hash for that comment: 9983b3c02def80c27bf3ca0284fba2537d932f4b I don't think it's really a local workaround though -- if a writable mbuf is needed, m_dup is the correct call. The "general solution" is to use m_dup w= hen it is necessary to do so. m_copy was removed in: commit c3bef61e584084a8f86fba71cb344f15fc20491c Author: Kevin Lo <kevlo@FreeBSD.org> Date: Thu Sep 15 07:41:48 2016 +0000 Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. Reviewed by: gnn Differential Revision: https://reviews.freebsd.org/D7878 There are 81 instances of "m_copym" in the tree still, across 41 files. > less used L2 modules such as arcnet, fddi, and token ring still suffer fr= om the same bug. These are all gone. --=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-105943-7501-aNKyYe9BSm>