]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mac80211: properly deal with station hashtable insert errors
authorJohannes Berg <johannes.berg@intel.com>
Thu, 31 Mar 2016 15:22:45 +0000 (17:22 +0200)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 21 Apr 2016 13:20:33 +0000 (07:20 -0600)
commita75e50423ca4cac81d9ceda3545524d6eabc9e87
treedca0083f06157f038d01e8e7a3b122ec67e73716
parent83cadc267be99fbd80d8a40b08bd98b813bab736
mac80211: properly deal with station hashtable insert errors

BugLink: http://bugs.launchpad.net/bugs/1573034
commit 62b14b241ca6f790a17ccd9dd9f62ce1b006d406 upstream.

The original hand-implemented hash-table in mac80211 couldn't result
in insertion errors, and while converting to rhashtable I evidently
forgot to check the errors.

This surfaced now only because Ben is adding many identical keys and
that resulted in hidden insertion errors.

Fixes: 7bedd0cfad4e1 ("mac80211: use rhashtable for station table")
Reported-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
net/mac80211/sta_info.c