diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 50dd87e6e13..bc5cc6a9c34 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.945 2015/09/23 08:49:46 mpi Exp $ */ +/* $OpenBSD: pf.c,v 1.946 2015/10/08 11:36:51 dlg Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -6537,6 +6537,11 @@ done: s->key[PF_SK_STACK]->inp = pd.m->m_pkthdr.pf.inp; } + if (s) { + pd.m->m_pkthdr.flowid = M_FLOWID_VALID | + (M_FLOWID_MASK & bemtoh64(&s->id)); + } + /* * connections redirected to loopback should not match sockets * bound specifically to loopback due to security implications, |