On 5/22/2018 2:46 AM, Andrew Zaborowski wrote:
Reject NL80211_CMD_DISCONNECT, NL80211_CMD_DISASSOCIATE, NL80211_CMD_DEAUTHENTICATE and NL80211_CMD_ASSOCIATE commands from clients other than the connection owner set in the connect, authenticate or associate commands, if it was set. The main point of this check is to prevent chaos when two processes try to use nl80211 at the same time, it's not a security measure. The same thing should possibly be done for JOIN_IBSS/LEAVE_IBSS and START_AP/STOP_AP.
Isn't this V2? What has changed since last time? Regards, Arend
Signed-off-by: Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx> --- net/wireless/nl80211.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)