summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-11-24 11:50:33 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-11-24 11:50:33 +0000
commit2e37005e33b1ab74053f390d46313cbefe2212ad (patch)
treeb9d8d43d3a011ae6f6015dac8d2cfc7f077e9d0b /sys/netinet/ip_ipsp.c
parent835cf6f5c8c6c55b8f123213b37a544fab566ded (diff)
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/ip_ipsp.c')
0 files changed, 0 insertions, 0 deletions