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=3D227720

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

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

--=20
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>