aboutsummaryrefslogtreecommitdiff
path: root/lib/raid6
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2017-03-03 17:08:30 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-07 13:47:15 -0800
commit22118d861cec5da6ed525aaf12a3de9bfeffc58f (patch)
tree229ab2058dae31cd20c3c8e27906f1ea583a360e /lib/raid6
parent850268d320f0c7c5eb7ad0a62ef21859fa331ded (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 <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions