summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-12-24 08:52:13 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-12-24 08:52:13 +0000
commit9983b3c02def80c27bf3ca0284fba2537d932f4b (patch)
tree136ce9b4d2b04f236824c387c39a2b8647c331ba /sys/net/if_ethersubr.c
parent4654a1f82f5c080d2b23710a2a23b0239b65f370 (diff)
Notes
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 6893acdb6d00..4ac6bab67ab4 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -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;