Markus Theil
9f498e5022
mac80211: mesh: restrict airtime metric to peered established plinks
...
[ Upstream commit 02a614499600af836137c3fbc4404cd96365fff2 ]
The following warning is triggered every time an unestablished mesh peer
gets dumped. Checks if a peer link is established before retrieving the
airtime link metric.
[ 9563.022567] WARNING: CPU: 0 PID: 6287 at net/mac80211/mesh_hwmp.c:345
airtime_link_metric_get+0xa2/0xb0 [mac80211]
[ 9563.022697] Hardware name: PC Engines apu2/apu2, BIOS v4.10.0.3
[ 9563.022756] RIP: 0010:airtime_link_metric_get+0xa2/0xb0 [mac80211]
[ 9563.022838] Call Trace:
[ 9563.022897] sta_set_sinfo+0x936/0xa10 [mac80211]
[ 9563.022964] ieee80211_dump_station+0x6d/0x90 [mac80211]
[ 9563.023062] nl80211_dump_station+0x154/0x2a0 [cfg80211]
[ 9563.023120] netlink_dump+0x17b/0x370
[ 9563.023130] netlink_recvmsg+0x2a4/0x480
[ 9563.023140] ____sys_recvmsg+0xa6/0x160
[ 9563.023154] ___sys_recvmsg+0x93/0xe0
[ 9563.023169] __sys_recvmsg+0x7e/0xd0
[ 9563.023210] do_syscall_64+0x4e/0x140
[ 9563.023217] entry_SYSCALL_64_after_hwframe+0x44/0xa9
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20191203180644.70653-1-markus.theil@tu-ilmenau.de
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-05 13:05:49 +00:00
..
2020-01-29 10:24:22 +01:00
2019-08-04 09:33:28 +02:00
2020-01-12 11:24:27 +01:00
2019-12-21 10:41:45 +01:00
2019-04-27 09:34:40 +02:00
2019-10-05 12:30:15 +02:00
2020-01-23 08:19:41 +01:00
2020-02-05 13:05:47 +00:00
2020-01-29 10:24:24 +01:00
2019-05-08 07:19:07 +02:00
2019-07-10 09:55:33 +02:00
2019-08-11 12:22:15 +02:00
2020-01-29 10:24:36 +01:00
2018-09-19 22:47:15 +02:00
2020-01-23 08:19:34 +01:00
2019-12-05 15:35:12 +01:00
2018-07-22 14:27:39 +02:00
2020-01-23 08:19:41 +01:00
2020-01-12 11:24:19 +01:00
2020-01-23 08:19:35 +01:00
2020-01-29 10:24:25 +01:00
2020-01-29 10:24:37 +01:00
2020-01-29 10:24:37 +01:00
2017-05-25 15:44:41 +02:00
2018-09-15 09:43:01 +02:00
2020-01-29 10:24:26 +01:00
2019-04-17 08:36:44 +02:00
2019-09-16 08:19:32 +02:00
2020-01-29 10:24:23 +01:00
2016-09-10 23:12:53 -07:00
2019-06-22 08:17:22 +02:00
2020-01-29 10:24:33 +01:00
2020-02-05 13:05:49 +00:00
2018-09-09 20:01:19 +02:00
2018-03-11 16:21:34 +01:00
2016-10-20 11:23:08 -04:00
2020-01-29 10:24:41 +01:00
2019-03-13 14:04:53 -07:00
2018-08-09 12:17:59 +02:00
2019-08-04 09:33:35 +02:00
2020-01-04 13:40:16 +01:00
2019-12-21 10:42:23 +01:00
2020-01-29 10:24:35 +01:00
2019-03-23 13:19:44 +01:00
2019-10-05 12:30:13 +02:00
2020-01-29 10:24:32 +01:00
2020-01-12 11:24:23 +01:00
2019-04-03 06:24:14 +02:00
2020-01-29 10:24:28 +01:00
2020-02-05 13:05:42 +00:00
2020-01-12 11:24:26 +01:00
2018-04-29 11:32:02 +02:00
2019-12-21 10:42:19 +01:00
2016-10-19 10:58:04 -04:00
2020-01-29 10:24:21 +01:00
2019-11-28 18:28:28 +01:00
2019-12-05 15:34:26 +01:00
2020-01-23 08:19:42 +01:00
2020-01-29 10:24:41 +01:00
2019-09-16 08:19:32 +02:00
2019-01-09 16:16:41 +01:00
2020-01-23 08:19:36 +01:00
2016-10-06 09:52:23 -07:00