summaryrefslogtreecommitdiffstats
path: root/sys/dev/gx
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2001-12-03 17:28:27 +0000
committerbrooks <brooks@FreeBSD.org>2001-12-03 17:28:27 +0000
commit8b6f6e9487a28169a664f628114a3cf9a1de1819 (patch)
tree3ec2b2e029e880f02c5d9088938736698a408ac5 /sys/dev/gx
parentb5de44291122e0fc2bf68540749f66b3992d3ea2 (diff)
downloadFreeBSD-src-8b6f6e9487a28169a664f628114a3cf9a1de1819.zip
FreeBSD-src-8b6f6e9487a28169a664f628114a3cf9a1de1819.tar.gz
Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the
mbuf instead. Suggested by: fenner
Diffstat (limited to 'sys/dev/gx')
-rw-r--r--sys/dev/gx/if_gx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/gx/if_gx.c b/sys/dev/gx/if_gx.c
index a8fd776..0e44a73 100644
--- a/sys/dev/gx/if_gx.c
+++ b/sys/dev/gx/if_gx.c
@@ -1318,7 +1318,7 @@ gx_rxeof(struct gx_softc *gx)
* to vlan_input() instead of ether_input().
*/
if (staterr & GX_RXSTAT_VLAN_PKT) {
- VLAN_INPUT_TAG(ifp, eh, m, rx->rx_special);
+ VLAN_INPUT_TAG(eh, m, rx->rx_special);
continue;
}
ether_input(ifp, eh, m);
OpenPOWER on IntegriCloud