]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix memory leak
authorSudip Mukherjee <sudip@vectorindia.org>
Tue, 2 Feb 2016 07:51:14 +0000 (13:21 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:32 +0000 (09:04 +0100)
commit625101f925c2a97b34b6e654513d3a48a6990a09
tree91b0137c0ab2303e73f7afb96cd0019a06c7a554
parentc5450ea7cbbd2c647c56a0589cafb2c8e2b8c04d
mac80211: fix memory leak

On error we jumped to the error label and returned the error code but we
missed releasing sinfo.

Fixes: 5fe74014172d ("mac80211: avoid excessive stack usage in sta_info")
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c