summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-07-02 00:49:43 +0000
committerclaudio <claudio@openbsd.org>2010-07-02 00:49:43 +0000
commitb55508e36caa92ec3aac52f77e8ef9bae7e1a00d (patch)
treec7697a490c147eececb1d9b0f98e35ca29fcb452 /sys/kern/kern_fork.c
parentFix memory leaks in schema parser. (diff)
downloadwireguard-openbsd-b55508e36caa92ec3aac52f77e8ef9bae7e1a00d.tar.xz
wireguard-openbsd-b55508e36caa92ec3aac52f77e8ef9bae7e1a00d.zip
Some functions change the ifp in during ether_input(). This confuses the
IFF_PROMISC check that ensures that only local packets make it into the network stack. Check both the original ifp and the new ifp for IFF_PROMISC. Problem identified by Patrick Coleman. OK mcbride@, henning@
Diffstat (limited to 'sys/kern/kern_fork.c')
0 files changed, 0 insertions, 0 deletions