Date: Tue, 02 Aug 2022 16:26:52 -0400 From: "Farhan Khan" <farhan@farhan.codes> To: freebsd-wireless <freebsd-wireless@freebsd.org> Subject: rtwn_parent not checking sc->sc_detached? Message-ID: <ec5fc290-f57f-428d-a15c-7205d0dc23cd@www.fastmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi all,
This might be a nitpick (or maybe not), but I noticed the rtwn_parent function does not validate sc->sc_detached before continuing, though it is set in rtwn_detach. Should this validation be checked?
Pretty sure I've seen it in other places too.
- Farhan
[-- Attachment #2 --]
<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi all,<br></div><div><br></div><div>This might be a nitpick (or maybe not), but I noticed the rtwn_parent function does not validate sc->sc_detached before continuing, though it is set in rtwn_detach. Should this validation be checked?<br></div><div><br></div><div>Pretty sure I've seen it in other places too.</div><div><br></div><div id="sig100029512"><div class="signature">- Farhan<br></div><div><br></div><div><br></div></div><div><br></div><pre style="white-space: pre-wrap"></pre></body></html>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec5fc290-f57f-428d-a15c-7205d0dc23cd>
