Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 10:40:03 -0800 (PST)
From:      Dan Lukes <dan@obluda.cz>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/46405: [PATCH] Bad VLAN handling on NIC's with VLAN hardware support
Message-ID:  <200212201840.gBKIe372073537@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/46405; it has been noted by GNATS.

From: Dan Lukes <dan@obluda.cz>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/46405: [PATCH] Bad VLAN handling on NIC's with VLAN hardware
 support
Date: Fri, 20 Dec 2002 19:30:58 +0100

 The patch for STABLE isn't as good as should be - it strip priority bits 
 before passing the packet to bpf
 
 	Corrected patch follows:
 
 *** if_vlan.c.ORIG      Tue Apr  9 10:46:12 2002
 --- if_vlan.c   Fri Dec 20 19:01:07 2002
 ***************
 *** 440,445 ****
 --- 440,446 ----
                  bpf_mtap(m->m_pkthdr.rcvif, (struct mbuf *)&mh);
          }
 
 +       t = EVL_VLANOFTAG(t);
          for (ifv = LIST_FIRST(&ifv_list); ifv != NULL;
              ifv = LIST_NEXT(ifv, ifv_list)) {
                  if (m->m_pkthdr.rcvif == ifv->ifv_p
 
 
 
 					Dan
 
 -- 
 Dan Lukes      tel: +420 2 21914205, fax: +420 2 21914206
 root  of FIONet,  KolejNET,  webmaster  of www.freebsd.cz
 AKA: dan@obluda.cz, dan@freebsd.cz, dan@kolej.mff.cuni.cz
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212201840.gBKIe372073537>