artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5224032
)
ajacouto says i missed copying some bits from bridge for divert-to.
author
dlg
<dlg@openbsd.org>
Thu, 27 May 2021 03:43:23 +0000
(
03:43
+0000)
committer
dlg
<dlg@openbsd.org>
Thu, 27 May 2021 03:43:23 +0000
(
03:43
+0000)
sys/net/if_veb.c
patch
|
blob
|
history
diff --git
a/sys/net/if_veb.c
b/sys/net/if_veb.c
index
32a0146
..
b40b680
100644
(file)
--- a/
sys/net/if_veb.c
+++ b/
sys/net/if_veb.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_veb.c,v 1.1
7 2021/05/26 02:38:01
dlg Exp $ */
+/* $OpenBSD: if_veb.c,v 1.1
8 2021/05/27 03:43:23
dlg Exp $ */
/*
* Copyright (c) 2021 David Gwynne <dlg@openbsd.org>
@@
-539,6
+539,8
@@
veb_pf(struct ifnet *ifp0, int dir, struct mbuf *m)
return (NULL);
if (dir == PF_IN && ISSET(m->m_pkthdr.pf.flags, PF_TAG_DIVERTED)) {
+ pf_mbuf_unlink_state_key(m);
+ pf_mbuf_unlink_inpcb(m);
(*ip_input)(ifp0, m);
return (NULL);
}