public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Deepakkumar Karn <dkarn@redhat.com>
To: johannes@sipsolutions.net
Cc: dkarn@redhat.com, linux-kernel@vger.kernel.org,
	linux-wireless@vger.kernel.org, shaul.triebitz@intel.com,
	syzbot+5bb5f06f99924ea0cf86@syzkaller.appspotmail.com
Subject: Re: [PATCH] mac80211_hwsim: fix divide error in mac80211_hwsim_link_info_changed
Date: Sat,  6 Dec 2025 04:33:44 +0530	[thread overview]
Message-ID: <20251205230344.326220-1-dkarn@redhat.com> (raw)
In-Reply-To: <717b98574a9037a5e81c929f97cc1258e00ee2f7.camel@sipsolutions.net>

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


  reply	other threads:[~2025-12-05 23:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-05 15:35 [PATCH] mac80211_hwsim: fix divide error in mac80211_hwsim_link_info_changed Deepakkumar Karn
2025-12-05 17:39 ` Johannes Berg
2025-12-05 23:03   ` Deepakkumar Karn [this message]
2025-12-06 14:56     ` Johannes Berg
2025-12-06 17:33       ` Deepakkumar Karn
2025-12-08  8:29         ` Johannes Berg
2025-12-10 18:56           ` Deepak Karn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251205230344.326220-1-dkarn@redhat.com \
    --to=dkarn@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=shaul.triebitz@intel.com \
    --cc=syzbot+5bb5f06f99924ea0cf86@syzkaller.appspotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox