Re: Message "in_cksum_skip: out of data by ...."
--A6N2fC+uXW/VQSAv
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
David and Michael,
can you please build a kernel with attached patch and options KDB,
and report what's the trace is.
Unfortunately my iwn(4) is running on amd64, so I can reproduce
exactly your case.
--
Totus tuus, Glebius.
--A6N2fC+uXW/VQSAv
Content-Type: text/x-diff; charset=koi8-r
Content-Disposition: attachment; filename="in_cksum.backtrace.diff"
Index: i386/i386/in_cksum.c
===================================================================
--- i386/i386/in_cksum.c (revision 241328)
+++ i386/i386/in_cksum.c (working copy)
@@ -36,6 +36,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
+#include <sys/kdb.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
@@ -204,6 +205,7 @@
caddr_t addr;
union q_util q_util;
union l_util l_util;
+ static int once = 0;
len -= skip;
for (; skip && m; m = m->m_next) {
@@ -477,8 +479,12 @@
su.c[0] = *(char *)w;
}
- if (len)
+ if (len) {
printf("%s: out of data by %d\n", __func__, len);
+ if (once == 0)
+ kdb_backtrace();
+ once = 1;
+ }
if (mlen == -1) {
/* The last mbuf has odd # of bytes. Follow the
standard (the odd byte is shifted left by 8 bits) */
--A6N2fC+uXW/VQSAv
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
--A6N2fC+uXW/VQSAv--
討論串 (同標題文章)
完整討論串 (本文為第 9 之 12 篇):