summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipsec_input.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2006-11-24 11:50:32 +0000
committerreyk <reyk@openbsd.org>2006-11-24 11:50:32 +0000
commit334091d1b2ef436baf36b039e7f88cda9af4d995 (patch)
tree8d05355a35bc6c1cf309c768f7f3c1a25ecf4619 /sys/netinet/ipsec_input.c
parentfix typo for remote port; from Brian Candler (diff)
downloadwireguard-openbsd-334091d1b2ef436baf36b039e7f88cda9af4d995.tar.xz
wireguard-openbsd-334091d1b2ef436baf36b039e7f88cda9af4d995.zip
never call an ioctl without process context! this diffs checks the
ifp->if_link_state instead of calling the ifmedia ioctl. this is safe in timeouts without process context and allows to use bridge stp with usb ethernet devices now. figured out and tested by Stuart Henderson, closes pr 5304.
Diffstat (limited to 'sys/netinet/ipsec_input.c')
0 files changed, 0 insertions, 0 deletions