Markus Theil
89f54ffd50
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 14:18:18 +00:00
..
2020-01-27 14:46:30 +01:00
2019-07-31 07:28:39 +02:00
2017-11-02 11:10:55 +01:00
2020-01-12 12:12:09 +01:00
2019-12-17 20:38:59 +01:00
2019-11-10 11:25:34 +01:00
2019-10-05 12:47:43 +02:00
2020-01-23 08:20:34 +01:00
2020-02-05 14:18:16 +00:00
2020-01-27 14:46:34 +01:00
2019-11-10 11:25:34 +01:00
2019-07-21 09:04:22 +02:00
2019-08-29 08:26:42 +02:00
2020-01-29 15:02:36 +01:00
2018-09-19 22:43:43 +02:00
2020-01-17 19:45:43 +01:00
2020-01-04 14:00:14 +01:00
2018-07-22 14:28:49 +02:00
2020-01-23 08:20:34 +01:00
2020-01-09 10:17:59 +01:00
2020-01-17 19:45:45 +01:00
2020-01-27 14:46:36 +01:00
2018-04-29 11:33:13 +02:00
2020-01-29 15:02:36 +01:00
2020-01-29 15:02:35 +01:00
2017-11-02 11:10:55 +01:00
2020-01-27 14:46:38 +01:00
2019-04-17 08:37:45 +02:00
2019-09-16 08:20:44 +02:00
2020-01-27 14:46:33 +01:00
2019-06-22 08:16:14 +02:00
2020-01-27 14:46:49 +01:00
2020-02-05 14:18:18 +00:00
2018-09-09 19:55:52 +02:00
2020-01-27 14:46:37 +01:00
2017-10-21 01:56:38 +01:00
2020-01-29 15:02:39 +01:00
2019-03-13 14:03:08 -07:00
2019-04-03 06:25:08 +02:00
2019-07-31 07:28:46 +02:00
2019-12-31 12:36:41 +01:00
2018-07-22 14:28:49 +02:00
2019-12-21 10:47:34 +01:00
2020-01-27 14:46:51 +01:00
2019-11-10 11:25:34 +01:00
2019-12-05 15:38:15 +01:00
2019-10-05 12:47:40 +02:00
2020-01-27 14:46:47 +01:00
2020-01-12 12:11:57 +01:00
2019-05-02 09:40:34 +02:00
2020-01-27 14:46:39 +01:00
2020-02-05 14:18:09 +00:00
2020-01-12 12:12:07 +01:00
2019-12-17 20:38:01 +01:00
2018-07-22 14:28:47 +02:00
2020-01-17 19:45:47 +01:00
2020-01-27 14:46:41 +01:00
2018-12-05 19:41:11 +01:00
2020-01-17 19:45:49 +01:00
2019-12-05 15:37:24 +01:00
2017-11-02 11:10:55 +01:00
2020-01-23 08:20:35 +01:00
2020-01-29 15:02:39 +01:00
2019-12-17 20:37:28 +01:00
2019-01-09 17:14:46 +01:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2020-01-17 19:45:49 +01:00