Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2020 14:44:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 246951] Regular crash: panic, trap_pfault, ip_input || ip_output using ipSec, AES-NI & CARP
Message-ID:  <bug-246951-7501-GTjI3N9fVk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246951-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246951-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=3D246951

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I looked at the ip_input() and ip_output() faults.  ip_input() is crashing
here:

 709   if (ifp !=3D NULL && ifp->if_flags & IFF_BROADCAST) {=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 710           IF_ADDR_RLOCK(ifp);
 711           TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
 712                   if (ifa->ifa_addr->sa_family !=3D AF_INET) <- null
ifa_addr
 713                           continue;

and ip_output() is crashing here:

 678                 if (error =3D=3D 0) {=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
 679                         /* Record statistics for this interface addres=
s.
*/
 680                         if (ia !=3D NULL) {
 681                                 counter_u64_add(ia->ia_ifa.ifa_opacket=
s,
1);
 682                                 counter_u64_add(ia->ia_ifa.ifa_obytes,
 683                                     m->m_pkthdr.len);
 684                         }

So there is some race involving interface address changes.

It would be useful to see the dmesg leading up to the panic.

--=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-246951-7501-GTjI3N9fVk>