aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2016-06-30 14:45:31 +0800
committerDavid S. Miller <[email protected]>2016-07-01 05:32:16 -0400
commit982fb490c298896d15e9323a882f34a57c11ff56 (patch)
tree453a3c8afc504c726462412c5b61cb90785c1069 /lib/mpi/mpiutil.c
parent8dc7243abbf514e208aee1c0b430f35b866f8cc4 (diff)
ptr_ring: support zero length ring
Sometimes, we need zero length ring. But current code will crash since we don't do any check before accessing the ring. This patch fixes this. Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions