diff options
| author | Michal Schmidt <[email protected]> | 2017-03-03 17:08:30 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-03-07 13:47:15 -0800 |
| commit | 22118d861cec5da6ed525aaf12a3de9bfeffc58f (patch) | |
| tree | 229ab2058dae31cd20c3c8e27906f1ea583a360e /tools/perf/scripts/python | |
| parent | 850268d320f0c7c5eb7ad0a62ef21859fa331ded (diff) | |
bnx2x: fix possible overrun of VFPF multicast addresses array
It is too late to check for the limit of the number of VF multicast
addresses after they have already been copied to the req->multicast[]
array, possibly overflowing it.
Do the check before copying.
Also fix the error path to not skip unlocking vf2pf_mutex.
Signed-off-by: Michal Schmidt <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions