NetBSD Problem Report #41378

From darrenr@NetBSD.org  Thu May  7 09:49:37 2009
Return-Path: <darrenr@NetBSD.org>
Received: by www.NetBSD.org (Postfix, from userid 1110)
	id 9428863B8DF; Thu,  7 May 2009 09:49:37 +0000 (UTC)
Message-Id: <20090507094937.9428863B8DF@www.NetBSD.org>
Date: Thu,  7 May 2009 09:49:37 +0000 (UTC)
From: darrenr@NetBSD.org
Reply-To: darrenr@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: panic in ip_input for 5.0RC3
X-Send-Pr-Version: 3.95

>Number:         41378
>Category:       kern
>Synopsis:       ifa_addr == NULL causes panic in ip_input
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 07 09:50:00 +0000 2009
>Originator:     Darren Reed
>Release:        NetBSD 5.0_RC3
>Organization:
>Environment:
pc running netbsd 5.0rc3
>Description:
panic dropped to ddb...
ip_input+35d
ipintr
softint_dispatch

+35d appears to be:
0xc0129e2d <ip_input+861>:      cmpb   $0x2,0x1(%eax)

Which goes back to:
                        if (ifa->ifa_addr->sa_family != AF_INET)
                                continue;
(AF_INET == 2) as the only suitable code on netbsd.

In this case, %eax == 0
>How-To-Repeat:

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.