diff options
author | 2006-06-13 01:33:45 +0000 | |
---|---|---|
committer | 2006-06-13 01:33:45 +0000 | |
commit | 031468aa1ff477e208f0b60adb1077926f2742e1 (patch) | |
tree | aeb5beca2ccbd8e8efdb230f1bd14d81fd927773 | |
parent | always use a format string, even when printing a constant (diff) | |
download | wireguard-openbsd-031468aa1ff477e208f0b60adb1077926f2742e1.tar.xz wireguard-openbsd-031468aa1ff477e208f0b60adb1077926f2742e1.zip |
rev 1.13 fixed the MTU ioctl handler to allow adjusting the MTU
but it seems Jumbo support is broken, so disable Jumbos for now.
issue reported by jolan@
-rw-r--r-- | sys/dev/pci/if_vge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c index 52a4f13c67f..8d30c01c8e5 100644 --- a/sys/dev/pci/if_vge.c +++ b/sys/dev/pci/if_vge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vge.c,v 1.24 2006/05/28 00:20:21 brad Exp $ */ +/* $OpenBSD: if_vge.c,v 1.25 2006/06/13 01:33:45 brad Exp $ */ /* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -782,7 +782,9 @@ vge_attach(struct device *parent, struct device *self, void *aux) ifp->if_watchdog = vge_watchdog; ifp->if_init = vge_init; ifp->if_baudrate = 1000000000; +#ifdef VGE_JUMBO ifp->if_hardmtu = VGE_JUMBO_MTU; +#endif IFQ_SET_MAXLEN(&ifp->if_snd, VGE_IFQ_MAXLEN); IFQ_SET_READY(&ifp->if_snd); |