]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: release station info tidstats
authorFelix Fietkau <nbd@nbd.name>
Fri, 25 Jan 2019 07:21:26 +0000 (08:21 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 25 Jan 2019 08:04:41 +0000 (09:04 +0100)
commit3d00a2483ab2d0be56a17094cb16b47f8133bb6d
treec1ba5d287f88d403e00207942a9aa3de1d619896
parent501955e58103529c41353f148b5edac9e7398a7b
batman-adv: release station info tidstats

With the addition of TXQ stats in the per-tid statistics the struct
station_info grew significantly. This resulted in stack size warnings
due to the structure itself being above the limit for the warnings.

To work around this, the TID array was allocated dynamically. Also a
function to free this content was introduced with commit ae47b6003f73
("cfg80211: release station info tidstats where needed") but the necessary
changes were not provided for batman-adv's B.A.T.M.A.N. V implementation.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Fixes: 5d9ed2ec1b95 ("cfg80211: dynamically allocate per-tid stats for station info")
[sven@narfation.org: add commit message]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v_elp.c