DragonFly bugs List (threaded) for 2008-03
DragonFly BSD
DragonFly bugs List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: panic: assertion: _ifac->ifa_magic == IFA_CONTAINER_MAGIC in _IFAFREE


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Wed, 19 Mar 2008 18:46:16 +0800

On Tue, Mar 18, 2008 at 10:39 PM, Sepherosa Ziehau <sepherosa@gmail.com> wrote:
> On Tue, Mar 18, 2008 at 10:54 AM, YONETANI Tomokazu
>
> <qhwt+dfly@les.ath.cx> wrote:
>
>
> > > This panic is not what I had expected though :)  Could you get a coredump?
>  >
>  >  Yes, uploaded on my leaf account as ~y0netan1/crash/{kernel,vmcore}.11 .
>
>  The cause of this panic probably is same as previous one.
>  Please test/review following patch:
>  http://leaf.dragonflybsd.org/~sephe/free_rtentry.diff
>
>  I also wipe out route entry in in_pcbladdr() if error happens and
>  route is allocated in this function.

Later this morning I noticed that sending datagram on unconnected UDP
socket and then connecting the UDP socket will cause same problem.  So
for UDP, PRU_CONNECT will be dispatched according to addr+port pair,
please test/review following patch:
http://leaf.dragonflybsd.org/~sephe/free_rtentry1.diff

Best Regards,
sephe

-- 
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]