aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2023-04-21 10:06:58 -0700
committerJakub Kicinski <[email protected]>2023-04-24 18:08:34 -0700
commitdf18f2da302f169e1a29098c6ca3b474f1b0269e (patch)
treeb2ce11edb5f102ae29e5c918fac15c6a43cb3623 /lib/mpi/mpi-mod.c
parent5c74064f43c291d9add2b436a2d70205b71a7cc7 (diff)
net: mana: Check if netdev/napi_alloc_frag returns single page
netdev/napi_alloc_frag() may fall back to single page which is smaller than the requested size. Add error checking to avoid memory overwritten. Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions