artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f0a8dc
)
if egre takes the packet, it's done, don't fall through to l3 processing.
author
dlg
<dlg@openbsd.org>
Wed, 21 Feb 2018 05:20:17 +0000
(
05:20
+0000)
committer
dlg
<dlg@openbsd.org>
Wed, 21 Feb 2018 05:20:17 +0000
(
05:20
+0000)
sys/net/if_gre.c
patch
|
blob
|
history
diff --git
a/sys/net/if_gre.c
b/sys/net/if_gre.c
index
b7841ed
..
aba9013
100644
(file)
--- a/
sys/net/if_gre.c
+++ b/
sys/net/if_gre.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_gre.c,v 1.10
8 2018/02/21 05:19:11
dlg Exp $ */
+/* $OpenBSD: if_gre.c,v 1.10
9 2018/02/21 05:20:17
dlg Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@
-563,6
+563,8
@@
gre_input_key(struct mbuf **mp, int *offp, int type, int af,
if (gh->gre_proto == htons(ETHERTYPE_TRANSETHER)) {
if (egre_input(key, m, hlen) == -1)
goto decline;
+
+ return (IPPROTO_DONE);
}
sc = gre_find(key);