artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ebdd4
)
In ip6_input() use a shortcut to detect our own address if the pf
author
bluhm
<bluhm@openbsd.org>
Tue, 19 Jul 2016 09:23:51 +0000
(09:23 +0000)
committer
bluhm
<bluhm@openbsd.org>
Tue, 19 Jul 2016 09:23:51 +0000
(09:23 +0000)
state key is linked to a socket inp.
OK mpi@ henning@
sys/netinet6/ip6_input.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/ip6_input.c
b/sys/netinet6/ip6_input.c
index
7d4966e
..
d9dc783
100644
(file)
--- a/
sys/netinet6/ip6_input.c
+++ b/
sys/netinet6/ip6_input.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ip6_input.c,v 1.16
5 2016/07/19 08:13:46 mpi Exp $
*/
+/* $OpenBSD: ip6_input.c,v 1.16
6 2016/07/19 09:23:51 bluhm Exp $
*/
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@
-375,7
+375,7
@@
ip6_input(struct mbuf *m)
goto hbhcheck;
}
- if (
m->m_pkthdr.pf.flags & PF_TAG_DIVERTED
) {
+ if (
pf_ouraddr(m) == 1
) {
ours = 1;
goto hbhcheck;
}