Note that rev. 1.221 introduced a local workaround for a general problem.
Add a pointer to the relevant PR for future reference. The whole comment will be OK to remove as soon as the general solution is applied. PR: kern/105943
This commit is contained in:
parent
4654a1f82f
commit
9983b3c02d
@ -313,6 +313,10 @@ ether_output(struct ifnet *ifp, struct mbuf *m,
|
||||
* be to modify if_simloop() to handle the readonly mbuf,
|
||||
* but performancewise it is mostly equivalent (trading
|
||||
* extra data copying vs. extra locking).
|
||||
*
|
||||
* XXX This is a local workaround. A number of less
|
||||
* often used kernel parts suffer from the same bug.
|
||||
* See PR kern/105943 for a proposed general solution.
|
||||
*/
|
||||
if ((n = m_dup(m, M_DONTWAIT)) != NULL) {
|
||||
n->m_pkthdr.csum_flags |= csum_flags;
|
||||
|
Loading…
Reference in New Issue
Block a user