Re: Panic potentially related to imgacct_shell.c commit

From: Mohan Srinivasan <mohan_srinivasan_at_yahoo.com>
Date: Wed, 22 Jun 2005 09:20:16 -0700 (PDT)
Hi,

Committing a fix for this issue to -current shortly (today).

In the meantime, you can apply this change to your tree.

==== //depot/mohans/freebsd6_nfs/sys/netinet/tcp_sack.c#18 -
/homes/mohans/p4/mohans/freebsd6_nfs/sys/netinet/tcp_sack.c ====
_at__at_ -474,8 +474,7 _at__at_
         * Since the incoming sack blocks are sorted, we can process them
         * making one sweep of the scoreboard.
         */
-       while (sblkp - sack_blocks >= 0) {
-               KASSERT(cur != NULL, ("cur != NULL"));
+       while (sblkp - sack_blocks >= 0 && cur != NULL) {
                if (SEQ_GEQ(sblkp->start, cur->end)) {
                        /*
                         * SACKs data beyond the current hole.

thanks

mohan

--- Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw> wrote:

> On Tue, 21 Jun 2005, Khetan Gajjar wrote:
> [...]
> > (kgdb) backtrace
> > 165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
> > #0  doadump () at pcpu.h:165
> > #1  0xc04f9568 in boot (howto=260) at ../../../kern/kern_shutdown.c:397
> > #2  0xc04f987d in panic (fmt=0xc069d6ac "cur != NULL")
> >    at ../../../kern/kern_shutdown.c:553
> > #3  0xc0593a4c in tcp_sack_option (tp=0xc23c0730, th=0xd4400aac,
> >    cp=0xc242da66
>
"\005\022\002Nu\020\002Nz\223\002N\200\026\002N¬.\223¦T\222!¸Ï+zYã¬+<Û\031\016Öñêî1£\006\177~\017A·\221æºu\227$Ñ9Tõ\232ÿ\003\024\234îÅs¦a\206¨e\236ôLZÔï\r]
> imapd[8272]: login: dustpuppy.is.co.za[19", optlen=0)
> >    at ../../../netinet/tcp_sack.c:478
> > #4  0xc0591a3b in tcp_dooptions (tp=0xc23c0730, to=0xd4400bb4,
> >    cp=0xc242da66
>
"\005\022\002Nu\020\002Nz\223\002N\200\026\002N¬.\223¦T\222!¸Ï+zYã¬+<Û\031\016Öñêî1£\006\177~\017A·\221æºu\227$Ñ9Tõ\232ÿ\003\024\234îÅs¦a\206¨e\236ôLZÔï\r]
> imapd[8272]: login: dustpuppy.is.co.za[19", cnt=18, is_syn=0,
> >    th=0xc242da44) at ../../../netinet/tcp_input.c:2647
> 
> Try "sysctl net.inet.tcp.sack.enable=0" to see if that helps.>
_______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jun 22 2005 - 14:20:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC