Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2010 09:50:07 GMT
From:      Valentin Nechayev <netch@netch.kiev.ua>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/149097: [panic] cdpd causes kernel panic
Message-ID:  <201008030950.o739o7u6001136@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/149097; it has been noted by GNATS.

From: Valentin Nechayev <netch@netch.kiev.ua>
To: bug-followup@FreeBSD.org, vvv@lucky.net
Cc:  
Subject: Re: kern/149097: [panic] cdpd causes kernel panic
Date: Tue, 3 Aug 2010 12:46:43 +0300

 It tries to inject CDP packet into ipfw0:
 
 Breakpoint 1, main (argc=4, argv=0xbfbfea80) at cdpd.c:844
 844                                     if(pcap_inject(cifa->pcap,buffer,offset)!=offset){
 (gdb) p *cifa
 $3 = {next = 0x0, name = 0x28206088 "ipfw0", address = {sin_len = 0 '\0', 
     sin_family = 0 '\0', sin_port = 0, sin_addr = {s_addr = 0}, 
     sin_zero = "\000\000\000\000\000\000\000"}, ipv6address = {
     sin6_len = 0 '\0', sin6_family = 0 '\0', sin6_port = 0, sin6_flowinfo = 0, 
     sin6_addr = {__u6_addr = {__u6_addr8 = '\0' <repeats 15 times>, 
         __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, 
     sin6_scope_id = 0}, eaddr = "\000\000\000\000\000", pcap = 0x2820c900, 
   errbuf = '\0' <repeats 255 times>}
 (gdb) n
 
 [here it has hung]
 
 
 -netch-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008030950.o739o7u6001136>