diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2021-05-27 03:43:24 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2021-05-27 03:43:24 +0000 |
commit | c7d86bf7d51b31c25605fa83df4cb6af311d0a6d (patch) | |
tree | bde9b2b08a780aaa3fca5f7bc7feb79bd51fb127 /sys/net | |
parent | f60cd3dfa26afb75eb626b5b26d9fbcba9e855b9 (diff) |
ajacouto says i missed copying some bits from bridge for divert-to.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_veb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_veb.c b/sys/net/if_veb.c index 32a01466940..b40b680d072 100644 --- a/sys/net/if_veb.c +++ b/sys/net/if_veb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_veb.c,v 1.17 2021/05/26 02:38:01 dlg Exp $ */ +/* $OpenBSD: if_veb.c,v 1.18 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); } |