Pass the right value to VLAN_INPUT_TAG(), this makes vlan(4) on bnx(4) work.
This commit is contained in:
parent
1d0746259f
commit
67f8e5f5ce
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_bnx.c,v 1.7 2007/07/09 21:00:53 ad Exp $ */
|
||||
/* $NetBSD: if_bnx.c,v 1.8 2007/08/09 18:10:20 bouyer Exp $ */
|
||||
/* $OpenBSD: if_bnx.c,v 1.43 2007/01/30 03:21:10 krw Exp $ */
|
||||
|
||||
/*-
|
||||
@ -35,7 +35,7 @@
|
||||
#if 0
|
||||
__FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $");
|
||||
#endif
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.7 2007/07/09 21:00:53 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.8 2007/08/09 18:10:20 bouyer Exp $");
|
||||
|
||||
/*
|
||||
* The following controllers are supported by this driver:
|
||||
@ -3850,7 +3850,7 @@ bnx_rx_intr(struct bnx_softc *sc)
|
||||
m_copyback(m, 0, sizeof(vh), &vh);
|
||||
#else
|
||||
VLAN_INPUT_TAG(ifp, m,
|
||||
l2fhdr->l2_fhdr_vlan_tag >> 16,
|
||||
l2fhdr->l2_fhdr_vlan_tag,
|
||||
continue);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user