[Bug 227720] Kernel panic in ppp server

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 30 11:06:27 UTC 2018


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

--- Comment #46 from Andrey V. Elsukov <ae at 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.


More information about the freebsd-net mailing list