Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 11:06:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 227720] Kernel panic in ppp server
Message-ID:  <bug-227720-7501-4976vWQuUo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227720-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227720-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227720

--- Comment #46 from Andrey V. Elsukov <ae@FreeBSD.org> ---
(In reply to Franck Rousseau from comment #43)
> #13 0xffffffff80c24da4 in sysctl_dumpentry (rn=0xfffff80008954410,
> vw=0xfffffe0467edd690)
>     at /usr/src/sys/net/rtsock.c:1559
> 1559			info.rti_info[RTAX_IFP] = rt->rt_ifp->if_addr->ifa_addr;
> (kgdb) print rt->rt_ifp->if_addr 
> $1 = (struct ifaddr *) 0x0
> (kgdb) print rt->rt_ifp->if_flags
> $2 = 0
> (kgdb) print rt->rt_ifp->if_index
> $3 = 0
> (kgdb) print rt->rt_ifp          
> $4 = (struct ifnet *) 0xfffff8002be6c800
> (kgdb) print *rt->rt_ifp
> $5 = {if_link = {tqe_next = 0xfffff800b0cfe050, tqe_prev =
> 0xfffff800b0cfe0a0}, if_clones = {le_next = 0x0, 
>     le_prev = 0x0}, if_groups = {tqh_first = 0x0, tqh_last = 0x0},
> if_alloctype = 0 '\0', if_softc = 0x0, 
>   if_llsoftc = 0x0, if_l2com = 0x0, if_dname = 0x0, if_dunit = 0, if_index =
> 0, if_index_reserved = 0, 
>   if_xname = 0xfffff8002be6c860 "", if_description = 0x0, if_flags = 0,
> if_drv_flags = 0, 

Ok, it seems all was correctly patched and the problem is because we have
garbage in the ifnet pointer.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227720-7501-4976vWQuUo>