Date: Tue, 11 Jun 2024 01:51:22 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 279653] Page fault in in6_selecthlim Message-ID: <bug-279653-7501-Bhz0wnwMLg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279653-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-279653-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=3D279653 Zhenlei Huang <zlei@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #1 from Zhenlei Huang <zlei@FreeBSD.org> --- (In reply to Daniel Ponte from comment #0) The stack trace is weird. The caller `sys/netinet/tcp_output.c` ``` 1444 ip6->ip6_hlim =3D in6_selecthlim(inp, NULL); ``` The callee, `sys/netinet6/in6_src.c`: ``` 843 int 844 in6_selecthlim(struct inpcb *inp, struct ifnet *ifp) 845 { 846=20 847 if (inp && inp->in6p_hops >=3D 0) 848 return (inp->in6p_hops); 849 else if (ifp) 850 return (ND_IFINFO(ifp)->chlim); 851 else if (inp && !IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_faddr)) { ... } ``` The line 850 of should never hit as `ifp` is NULL, the backtrace also shows that clearly. That is quite odd ... Is it possible that kgdb report the wrong line number= ? --=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-279653-7501-Bhz0wnwMLg>