diff options
author | Jan Klemkow <jan@cvs.openbsd.org> | 2023-10-27 20:56:49 +0000 |
---|---|---|
committer | Jan Klemkow <jan@cvs.openbsd.org> | 2023-10-27 20:56:49 +0000 |
commit | 315a85212d97b30ed042be24708313eadb09817b (patch) | |
tree | af1a899d7b79f82791fcbde0361a8c282f54ca9e /sys/net/if_gre.c | |
parent | bc9b7c09e42ad812591b32919d2745617fbe3f7e (diff) |
Forward TCP LRO disabling to parent devices.
Also disable TCP LRO on bridged vlan(4) and default for bpe(4), nvgre(4) and
vxlan(4).
ok bluhm@
Diffstat (limited to 'sys/net/if_gre.c')
-rw-r--r-- | sys/net/if_gre.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index cac48bb8f3d..6204ed40a74 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gre.c,v 1.174 2023/05/13 13:35:17 bluhm Exp $ */ +/* $OpenBSD: if_gre.c,v 1.175 2023/10/27 20:56:47 jan Exp $ */ /* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */ /* @@ -3544,6 +3544,8 @@ nvgre_set_parent(struct nvgre_softc *sc, const char *parent) return (EPROTONOSUPPORT); } + ifsetlro(ifp0, 0); + /* commit */ sc->sc_ifp0 = ifp0->if_index; if_put(ifp0); |