CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2010/09/29 14:00:51

Modified files:
        sys/net80211   : ieee80211_ioctl.c 

Log message:
In the implementation of the SIOCS80211DELNODE ioctl, call
ieee80211_node_leave() instead of ieee80211_release_node() which screws
up reference counting and leads to use after free problems elsewhere in the
code.  Since ieee80211_node_leave() is only available if hostap support is
compiled in, don't privide the SIOCS80211DELNODE ioctl if we're compiling
without hostap support (e.g. on ramdisks).

ok deraadt@, damien@

Reply via email to