NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48104: Incorrect forwarding of broadcast packets by bridge(4)



The following reply was made to PR kern/48104; it has been noted by GNATS.

From: dieter roelants <dieter.NetBSD%pandora.be@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/48104: Incorrect forwarding of broadcast packets by bridge(4)
Date: Mon, 28 Oct 2013 17:12:10 +0100

 --089e0149ccdec187cd04e9cf5cd7
 Content-Type: text/plain; charset=UTF-8
 
 Hi Lloyd
 
 On Mon, Aug 5, 2013 at 2:55 AM, <lloyd%must-have-coffee.gen.nz@localhost> 
wrote:
 
 >
 > The following works for me. The change to if_bridge.c gets the packets
 > copied to all the other bridge ports and the change to if_ethersubr.c
 > prevents packets that have already been broadcast from being rebroadcast.
 >
 
 I forgot about it but I had applied your patch on a system running as Xen
 dom-0 and it made it panic upon starting the first (ipv6-enabled) dom-U.
 The panic message was:
 "m_copydata: m = NULL, len = 67502046"
 and it appeared right after the following message
 "xvif1i0: discarding oversize frame (len = 67502088)".
 The backtrace looked like this:
 
 vpanic
 printf_nolog
 m_copydata at netbsd:m_copy_data+0xbb
 xennetback_if_softstart_copy+0x30b
 softint_thread+0x5a
 
 (I scribbled it down on a piece of paper at the time, so there may be typos
 in there...)
 
 kind regards
 dieter
 
 --089e0149ccdec187cd04e9cf5cd7
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr"><br><div class=3D"gmail_extra">Hi Lloyd<br></div><div clas=
 s=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Aug 5, 2013 at 2:5=
 5 AM,  <span dir=3D"ltr">&lt;<a 
href=3D"mailto:lloyd%must-have-coffee.gen@localhost.n=
 z" target=3D"_blank">lloyd%must-have-coffee.gen.nz@localhost</a>&gt;</span> 
wrote:<br=
 >
 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex"><br>
 The following works for me. The change to if_bridge.c gets the packets copi=
 ed to all the other bridge ports and the change to if_ethersubr.c prevents =
 packets that have already been broadcast from being rebroadcast.<br></block=
 quote>
 </div><br></div><div class=3D"gmail_extra">I forgot about it but I had appl=
 ied your patch on a system running as Xen dom-0 and it made it panic upon s=
 tarting the first (ipv6-enabled) dom-U. The panic message was:<br>&quot;m_c=
 opydata: m =3D NULL, len =3D 67502046&quot;<br>
 and it appeared right after the following message<br>&quot;xvif1i0: discard=
 ing oversize frame (len =3D 67502088)&quot;.<br>The backtrace looked like t=
 his:<br><br></div><div class=3D"gmail_extra">vpanic<br></div><div class=3D"=
 gmail_extra">
 printf_nolog<br></div><div class=3D"gmail_extra">m_copydata at netbsd:m_cop=
 y_data+0xbb<br></div><div class=3D"gmail_extra">xennetback_if_softstart_cop=
 y+0x30b<br></div><div class=3D"gmail_extra">softint_thread+0x5a<br><br></di=
 v>
 <div class=3D"gmail_extra">(I scribbled it down on a piece of paper at the =
 time, so there may be typos in there...)<br><br></div><div class=3D"gmail_e=
 xtra">kind regards<br>dieter<br></div></div>
 
 --089e0149ccdec187cd04e9cf5cd7--
 


Home | Main Index | Thread Index | Old Index