summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-08-08 18:53:10 +0000
committermillert <millert@openbsd.org>2002-08-08 18:53:10 +0000
commitdc90a66d327a469649fb568d9a55591fa9fae768 (patch)
treed0b5cdfcf45cf1feda01a032be2010b7bc3c3d9c /sys/netinet/tcp_input.c
parentimplement setenv. (diff)
downloadwireguard-openbsd-dc90a66d327a469649fb568d9a55591fa9fae768.tar.xz
wireguard-openbsd-dc90a66d327a469649fb568d9a55591fa9fae768.zip
Fix IFF_PROMISC setting optimization. The point is to avoid the
wi_init() if only IFF_PROMISC status has changed. There is no need to change anything if we are in HostAP mode since wi_init() has already turned off the hardware promisc bit when we entered HostAP (HostAP already implies promisc behavior). Noticed by imp@, OK by mickey@
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions