kern/149097: [panic] cdpd causes kernel panic

Valentin Nechayev netch at netch.kiev.ua
Tue Aug 3 09:50:07 UTC 2010


The following reply was made to PR kern/149097; it has been noted by GNATS.

From: Valentin Nechayev <netch at netch.kiev.ua>
To: bug-followup at FreeBSD.org, vvv at 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-


More information about the freebsd-bugs mailing list