Skip to content
Commit f5375305 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'nfp-protect-from-theoretical-size-overflows-and-SR-IOV-errors'



Jakub Kicinski says:

====================
nfp: protect from theoretical size overflows and SR-IOV errors

This small set changes the handling of pci_sriov_set_totalvfs() errors.
nfp is the only driver which fails probe on pci_sriov_set_totalvfs()
errors.  It turns out some BIOS configurations may break SR-IOV and
users who don't use that feature should not suffer.

Remaining patches makes sure we use overflow-safe function for ring
allocation, even though ring sizes are limited.  It won't hurt and
we can also enable fallback to vmalloc() if memory is tight while
at it.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents b24dbfe9 5ea14712
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment