diff options
author | 2014-01-31 08:58:32 +0000 | |
---|---|---|
committer | 2014-01-31 08:58:32 +0000 | |
commit | 5bb31ffa379a863e29a248a8fe8696055e13f794 (patch) | |
tree | fe0f1eeae73b2eea7b834dae44c85db35d4676c1 | |
parent | Rewrite the receive filter handling code, reinstate the hash filter and cleanup (diff) | |
download | wireguard-openbsd-5bb31ffa379a863e29a248a8fe8696055e13f794.tar.xz wireguard-openbsd-5bb31ffa379a863e29a248a8fe8696055e13f794.zip |
tl(4) already allowed for reception of frames up to MCLBYTES in size so
set IFCAP_VLAN_MTU to allow for VLAN sized frames.
-rw-r--r-- | sys/dev/pci/if_tl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c index 7148fb2b7e4..5e474793dab 100644 --- a/sys/dev/pci/if_tl.c +++ b/sys/dev/pci/if_tl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tl.c,v 1.58 2014/01/31 06:05:40 brad Exp $ */ +/* $OpenBSD: if_tl.c,v 1.59 2014/01/31 08:58:32 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1987,6 +1987,8 @@ tl_attach(struct device *parent, struct device *self, void *aux) IFQ_SET_READY(&ifp->if_snd); bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ); + ifp->if_capabilities = IFCAP_VLAN_MTU; + /* * Reset adapter (again). */ |