diff options
author | 2016-09-13 10:16:22 +0000 | |
---|---|---|
committer | 2016-09-13 10:16:22 +0000 | |
commit | 3e183f26cdd7ff53d17e2e9d832e3cae10924081 (patch) | |
tree | 09bc1609898e51689787b55caa653a2c4893c63a | |
parent | Introduce rwsleep(9), an equivalent to msleep(9) but for code protected (diff) | |
download | wireguard-openbsd-3e183f26cdd7ff53d17e2e9d832e3cae10924081.tar.xz wireguard-openbsd-3e183f26cdd7ff53d17e2e9d832e3cae10924081.zip |
Raise maximum supported MTU value to 9000; discussed with reyk@
-rw-r--r-- | sys/dev/pv/if_xnf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c index 64123cc6212..22805f52304 100644 --- a/sys/dev/pv/if_xnf.c +++ b/sys/dev/pv/if_xnf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xnf.c,v 1.38 2016/09/12 18:55:18 mikeb Exp $ */ +/* $OpenBSD: if_xnf.c,v 1.39 2016/09/13 10:16:22 mikeb Exp $ */ /* * Copyright (c) 2015, 2016 Mike Belopuhov @@ -267,7 +267,7 @@ xnf_attach(struct device *parent, struct device *self, void *aux) } if (sc->sc_caps & XNF_CAP_SG) - ifp->if_hardmtu = XNF_MCLEN - ETHER_HDR_LEN; + ifp->if_hardmtu = 9000; if (xnf_rx_ring_create(sc)) { xen_intr_disestablish(sc->sc_xih); |