From: Nguyen, Anthony L <anthony.l.nguyen@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [net] igb: Check if num of q_vectors is smaller than max before array access.
Date: Tue, 20 Apr 2021 20:15:57 +0000 [thread overview]
Message-ID: <d5321d7573217a51ee8bc2402db48a068cebb252.camel@intel.com> (raw)
In-Reply-To: <20210416165952.24401-1-aleksandr.loktionov@intel.com>
On Fri, 2021-04-16 at 16:59 +0000, Aleksandr Loktionov wrote:
> Ensure that the adapter->q_vector[MAX_Q_VECTORS] array isn't accessed
> beyond its size. It was fixed by using a local variable num_q_vectors
> as a limit for loop index, and ensure that num_q_vectors is not
> bigger
> than MAX_Q_VECTORS.
>
> Fixes: 047e0030f1e6 ("igb: add new data structure for handling
> interrupts and NAPI")
The Fixes tag should not be wrapped. It's exempt from the 75 char
limit.
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> Reviewed-by: Grzegorz Siwik <grzegorz.siwik@intel.com>
> Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
> Reviewed-by: Slawomir Laba <slawomirx.laba@intel.com>
> Reviewed-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
> Verified-by: Mateusz Palczewski <mateusz.placzewski@intel.com>
WARNING: Non-standard signature: Verified-by:
Please fix and resend.
next prev parent reply other threads:[~2021-04-20 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 16:59 [Intel-wired-lan] [net] igb: Check if num of q_vectors is smaller than max before array access Aleksandr Loktionov
2021-04-20 20:15 ` Nguyen, Anthony L [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-21 15:15 Aleksandr Loktionov
2021-04-21 23:04 ` Nguyen, Anthony L
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=d5321d7573217a51ee8bc2402db48a068cebb252.camel@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=intel-wired-lan@osuosl.org \
/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