lkml.org 
[lkml]   [2025]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mac80211_hwsim: fix divide error in mac80211_hwsim_link_info_changed
Date
On Fri, 05 Dec 2025 18:39:49 +0100, Johannes Berg wrote:
> Seems like we should not let userspace do that, to protect all other
> drivers too, not just hwsim.

As suggested, we should provide a zero-value division check for other
drivers as well. I will investigate other places where divide errors can
occur due to edge cases.

Please let me know if you meant something different. In the meantime,
I will analyze other drivers for similar cases.

Thanks,
Deepakkumar Karn


\
 
 \ /
  Last update: 2025-12-06 00:04    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog