FreeBSD Bugzilla – Attachment 242830 Details for
Bug 268400
Page fault kernel panic with KTLS enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
diff (text/plain), 1.09 KB, created by
Mark Johnston
on 2023-06-17 16:06:12 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2023-06-17 16:06:12 UTC
Size:
1.09 KB
patch
obsolete
>commit 689f7ff6169e57d37eea9f24c1065195e9c1e110 >Author: Mark Johnston <markj@FreeBSD.org> >Date: Sat Jun 17 12:02:52 2023 -0400 > > Revert "icmp6: Hack to handle unmapped mbufs" > > This reverts commit c142b0f2741ef779ca8bd1a812d610ae1788b46b. > >diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c >index 83054a3f81eb..4166cabdc5cb 100644 >--- a/sys/netinet6/icmp6.c >+++ b/sys/netinet6/icmp6.c >@@ -2126,10 +2126,6 @@ icmp6_reflect(struct mbuf *m, size_t off) > ip6->ip6_nxt = IPPROTO_ICMPV6; > ip6->ip6_hlim = hlim; > >- /* XXX-MJ in6_cksum() does not yet handle unmapped mbufs */ >- m = mb_unmapped_to_ext(m); >- if (m == NULL) >- goto bad; > icmp6->icmp6_cksum = 0; > icmp6->icmp6_cksum = in6_cksum(m, IPPROTO_ICMPV6, > sizeof(struct ip6_hdr), plen); >@@ -2625,10 +2621,6 @@ noredhdropt:; > > ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr)); > >- /* XXX-MJ in6_cksum() does not yet handle unmapped mbufs */ >- m = mb_unmapped_to_ext(m); >- if (m == NULL) >- goto fail; > nd_rd->nd_rd_cksum = 0; > nd_rd->nd_rd_cksum = in6_cksum(m, IPPROTO_ICMPV6, > sizeof(*ip6), ntohs(ip6->ip6_plen));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268400
:
238823
|
240668
|
242830
|
242831
|
242832