artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884f161
)
ajacoutot says i missed copying some bits from bridge for divert-to.
author
dlg
<dlg@openbsd.org>
Thu, 27 May 2021 03:46:15 +0000
(
03:46
+0000)
committer
dlg
<dlg@openbsd.org>
Thu, 27 May 2021 03:46:15 +0000
(
03:46
+0000)
sys/net/if_tpmr.c
patch
|
blob
|
history
diff --git
a/sys/net/if_tpmr.c
b/sys/net/if_tpmr.c
index
753379a
..
5fcb0b0
100644
(file)
--- a/
sys/net/if_tpmr.c
+++ b/
sys/net/if_tpmr.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_tpmr.c,v 1.2
5 2021/05/26 06:44:28
dlg Exp $ */
+/* $OpenBSD: if_tpmr.c,v 1.2
6 2021/05/27 03:46:15
dlg Exp $ */
/*
* Copyright (c) 2019 The University of Queensland
@@
-276,6
+276,8
@@
tpmr_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);
}