Date: Sun, 23 Jun 2024 09:31:35 +0800 From: Zhenlei Huang <zlei@FreeBSD.org> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: ifp gone in ip6_output() -> panic Message-ID: <F4A7AC7B-30B1-4AF2-B814-0BB7C723042F@FreeBSD.org> In-Reply-To: <osr75qr9-3r79-9608-6312-119336173452@yvfgf.mnoonqbm.arg> References: <1p003r05-684o-8542-r153-n850s3sspnp3@yvfgf.mnoonqbm.arg> <F19D9E47-CB88-4CE0-BD52-DB1F33435FBF@FreeBSD.org> <osr75qr9-3r79-9608-6312-119336173452@yvfgf.mnoonqbm.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_5FF92A3F-999B-411E-A4BF-E5E75CE7B261 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 24, 2024, at 6:12 AM, Bjoern A. Zeeb = <bzeeb-lists@lists.zabbadoz.net> wrote: >=20 > On Wed, 22 May 2024, Zhenlei Huang wrote: >=20 >>=20 >>=20 >>> On May 22, 2024, at 12:17 PM, Bjoern A. Zeeb = <bzeeb-lists@lists.zabbadoz.net> wrote: >>>=20 >>> Hi, >>>=20 >>> sorry, I cannot dump; this is a diskless and netdump does not do = IPv6; >>> needless to say that would be funny in this case anyway; = unfortunately >>> I have also already re-compiled the kernel so I can only look things = up approx. >>>=20 >>> FreeBSD main from May 13 (f3eeeb959c9b00c89a2e1ff009c78162eb398656). >>>=20 >>> I assume we lost the ifp from a destroy of a cloned interface in = ip6_output() >>> between lines 806 and 811? >>>=20 >>>=20 >>> Kernel page fault with the following non-sleepable locks held: >>> exclusive rw rawinp (rawinp) r =3D 0 (0xfffff80002a6e1a0) locked @ = /usr/src/sys/netinet6/raw_ip6.c:393 >>> stack backtrace: >>> #0 0xffffffff80bb679c at witness_debugger+0x6c >>> #1 0xffffffff80bb7979 at witness_warn+0x3e9 >>> #2 0xffffffff81061d10 at trap_pfault+0x80 >>> #3 0xffffffff81033878 at calltrap+0x8 >>> #4 0xffffffff80d99228 at rip6_send+0x5a8 >>> #5 0xffffffff80bf570e at sosend_generic+0x5ee >>> #6 0xffffffff80bf5c49 at sousrsend+0x79 >>> #7 0xffffffff80bfbd5c at kern_sendit+0x1bc >>> #8 0xffffffff80bfc073 at sendit+0x1b3 >>> #9 0xffffffff80bfc1ab at sys_sendmsg+0x5b >>> #10 0xffffffff81062638 at amd64_syscall+0x158 >>> #11 0xffffffff8103418b at fast_syscall_common+0xf8 >>> Created wlan(4) interfaces: wlan >>=20 >> Note the creation of wlan, and a following ICMP6 (ping6) packet. >=20 > Yes I think it was running netif restart wlan0 in loops. >=20 >=20 > [...] >>=20 >> I'm not quite sure, but it seems the `ifp` is not fully constructed. = See https://cgit.freebsd.org/src/tree/sys/net/if.c#n950 = <https://cgit.freebsd.org/src/tree/sys/net/if.c#n950><https://cgit.freebsd= .org/src/tree/sys/net/if.c#n950 = <https://cgit.freebsd.org/src/tree/sys/net/if.c#n950>> >>=20 >> If I read the code correctly, the clone created interface is made = visible via `if_link_ifnet(ifp);` , and at that time the >> `ifp->if_afdata[AF_INET6]` is NULL and is not initialized yet by = `if_attachdomain1()` which will call `in6_domifattach()` >> to allocate the required data. >>=20 >> So I guess there is a race condition. I bet this can be repeated = easily. >>=20 >> I have not tested this yet, and not sure if it is the right fix, but = you can give it a try. >=20 > I'll do; I haven't seen the error happening since on other test > machines, so not sure about repeatability. >=20 > I am also not entirely sure this is not a ping6 ff02::1%wlan0 while > the ifp was destroyed by netif restart at the same time the packet was > still on the way out? I think that is possible. There is another report = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279653 = <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279653> but=20 with a different fault path. >=20 > If it was during create, the wlan(4) interface would not be associated > and UP at that point of if_attach_internal() and > `ifconfig inet6 -ifdisabled` would not have been run to be able to = send > that packet in first place? Emm, I'm still hacking the lifecycle of ifnet. I think you're right. By = default inet6 is disabled on interfaces. It seems to be impossible to send packets via disabled interfaces. >=20 > Othwerwise the packet would have had to "survive" the clone destroy = and > clone create cycle somewhere ...? >=20 >=20 >> diff --git a/sys/net/if.c b/sys/net/if.c >> index c3c27fbf678f..16ee5667e7bb 100644 >> --- a/sys/net/if.c >> +++ b/sys/net/if.c >> @@ -947,11 +947,11 @@ if_attach_internal(struct ifnet *ifp, bool = vmove) >> } >> #endif >>=20 >> - if_link_ifnet(ifp); >> - >> if (domain_init_status >=3D 2) >> if_attachdomain1(ifp); >>=20 >> + if_link_ifnet(ifp); >> + >> EVENTHANDLER_INVOKE(ifnet_arrival_event, ifp); >> if (IS_DEFAULT_VNET(curvnet)) >> devctl_notify("IFNET", ifp->if_xname, "ATTACH", NULL); >=20 > --=20 > Bjoern A. Zeeb = r15:7 --Apple-Mail=_5FF92A3F-999B-411E-A4BF-E5E75CE7B261 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On May 24, 2024, at 6:12 AM, Bjoern A. Zeeb <<a = href=3D"mailto:bzeeb-lists@lists.zabbadoz.net" = class=3D"">bzeeb-lists@lists.zabbadoz.net</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><meta = charset=3D"UTF-8" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">On Wed, 22 May 2024, Zhenlei Huang wrote:</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><blockquote type=3D"cite" style=3D"font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br = class=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">On May = 22, 2024, at 12:17 PM, Bjoern A. Zeeb <<a = href=3D"mailto:bzeeb-lists@lists.zabbadoz.net" = class=3D"">bzeeb-lists@lists.zabbadoz.net</a>> wrote:<br class=3D""><br= class=3D"">Hi,<br class=3D""><br class=3D"">sorry, I cannot dump; this = is a diskless and netdump does not do IPv6;<br class=3D"">needless to = say that would be funny in this case anyway; unfortunately<br class=3D"">I= have also already re-compiled the kernel so I can only look things up = approx.<br class=3D""><br class=3D"">FreeBSD main from May 13 = (f3eeeb959c9b00c89a2e1ff009c78162eb398656).<br class=3D""><br class=3D"">I= assume we lost the ifp from a destroy of a cloned interface in = ip6_output()<br class=3D"">between lines 806 and 811?<br class=3D""><br = class=3D""><br class=3D"">Kernel page fault with the following = non-sleepable locks held:<br class=3D"">exclusive rw rawinp (rawinp) r =3D= 0 (0xfffff80002a6e1a0) locked @ /usr/src/sys/netinet6/raw_ip6.c:393<br = class=3D"">stack backtrace:<br class=3D"">#0 0xffffffff80bb679c at = witness_debugger+0x6c<br class=3D"">#1 0xffffffff80bb7979 at = witness_warn+0x3e9<br class=3D"">#2 0xffffffff81061d10 at = trap_pfault+0x80<br class=3D"">#3 0xffffffff81033878 at calltrap+0x8<br = class=3D"">#4 0xffffffff80d99228 at rip6_send+0x5a8<br class=3D"">#5 = 0xffffffff80bf570e at sosend_generic+0x5ee<br class=3D"">#6 = 0xffffffff80bf5c49 at sousrsend+0x79<br class=3D"">#7 0xffffffff80bfbd5c = at kern_sendit+0x1bc<br class=3D"">#8 0xffffffff80bfc073 at = sendit+0x1b3<br class=3D"">#9 0xffffffff80bfc1ab at sys_sendmsg+0x5b<br = class=3D"">#10 0xffffffff81062638 at amd64_syscall+0x158<br class=3D"">#11= 0xffffffff8103418b at fast_syscall_common+0xf8<br class=3D"">Created = wlan(4) interfaces: wlan<br class=3D""></blockquote><br class=3D"">Note = the creation of wlan, and a following ICMP6 (ping6) packet.<br = class=3D""></blockquote><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">Yes I think it was running netif restart wlan0 in = loops.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">[...]</span><br= style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><blockquote type=3D"cite" style=3D"font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br = class=3D"">I'm not quite sure, but it seems the `ifp` is not fully = constructed. See<span class=3D"Apple-converted-space"> </span><a = href=3D"https://cgit.freebsd.org/src/tree/sys/net/if.c#n950" = class=3D"">https://cgit.freebsd.org/src/tree/sys/net/if.c#n950</a><<a = href=3D"https://cgit.freebsd.org/src/tree/sys/net/if.c#n950" = class=3D"">https://cgit.freebsd.org/src/tree/sys/net/if.c#n950</a>><br = class=3D""><br class=3D"">If I read the code correctly, the clone = created interface is made visible via `if_link_ifnet(ifp);` , and at = that time the<br class=3D"">`ifp->if_afdata[AF_INET6]` is NULL and is = not initialized yet by `if_attachdomain1()` which will call = `in6_domifattach()`<br class=3D"">to allocate the required data.<br = class=3D""><br class=3D"">So I guess there is a race condition. I bet = this can be repeated easily.<br class=3D""><br class=3D"">I have not = tested this yet, and not sure if it is the right fix, but you can give = it a try.<br class=3D""></blockquote><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">I'll do; I haven't seen the error happening since on other = test</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">machines, so = not sure about repeatability.</span><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">I am also not entirely sure this is not a ping6 ff02::1%wlan0 = while</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">the ifp was = destroyed by netif restart at the same time the packet was</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">still on the = way out?</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""></div></blockquote><div><br class=3D""></div><div>I = think that is possible. There is another report <a = href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279653" = class=3D"">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279653</a>&= nbsp;but </div><div>with a different fault path.</div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">If it was = during create, the wlan(4) interface would not be associated</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">and UP at = that point of if_attach_internal() and</span><br style=3D"caret-color: = rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">`ifconfig inet6 -ifdisabled` would not have been run to be = able to send</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">that packet = in first place?</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""></div></blockquote><div><br = class=3D""></div><div>Emm, I'm still hacking the lifecycle of ifnet. I = think you're right. By default inet6 is disabled on = interfaces.</div><div>It seems to be impossible to send packets via = disabled interfaces.</div><br class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D""><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">Othwerwise the packet would have had to "survive" the clone = destroy and</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">clone create = cycle somewhere ...?</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><blockquote type=3D"cite" = style=3D"font-family: Menlo-Regular; font-size: 13px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; orphans: auto; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: auto; word-spacing: = 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D"">diff --git a/sys/net/if.c = b/sys/net/if.c<br class=3D"">index c3c27fbf678f..16ee5667e7bb 100644<br = class=3D"">--- a/sys/net/if.c<br class=3D"">+++ b/sys/net/if.c<br = class=3D"">@@ -947,11 +947,11 @@ if_attach_internal(struct ifnet *ifp, = bool vmove)<br class=3D""> }<br = class=3D"">#endif<br class=3D""><br class=3D"">- = if_link_ifnet(ifp);<br class=3D"">-<br= class=3D""> if (domain_init_status = >=3D 2)<br = class=3D""> &nb= sp; if_attachdomain1(ifp);<br class=3D""><br class=3D"">+= if_link_ifnet(ifp);<br = class=3D"">+<br = class=3D""> EVENTHANDLER_INVOKE(ifnet_a= rrival_event, ifp);<br class=3D""> if = (IS_DEFAULT_VNET(curvnet))<br = class=3D""> &nb= sp; devctl_notify("IFNET", ifp->if_xname, "ATTACH", = NULL);<br class=3D""></blockquote><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">--<span class=3D"Apple-converted-space"> </span></span><br= style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;" class=3D"">Bjoern A. = Zeeb = &n= bsp; &nbs= p; = &n= bsp; r15:7</span></div></blockquote></div><br class=3D""><div = class=3D""> <div><br class=3D""></div> </div> <br class=3D""></body></html>= --Apple-Mail=_5FF92A3F-999B-411E-A4BF-E5E75CE7B261--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4A7AC7B-30B1-4AF2-B814-0BB7C723042F>