]> xenbits.xensource.com Git - pvdrivers/win/xennet.git/commit
Check for zero byte allocations
authorOwen Smith <owen.smith@cloud.com>
Mon, 17 Apr 2023 13:24:39 +0000 (14:24 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 22 May 2023 12:36:56 +0000 (13:36 +0100)
commitb847d27e6f1a367a6a2244d08abb83de68d8d3b0
tree75ee50d322afea10ebdf4213e04c2ba1b79ccfff
parente32a7f88f31de2f16ce31430a3e3a5241d23b5e9
Check for zero byte allocations

Avoid attempting to allocate zero byte buffers, which can lead to
inefficiencies in pool memory usage.

Suggested-by: Matthew Sykes <matthew.sykes@citrix.com>
Signed-off-by: Owen Smith <owen.smith@cloud.com>
src/xennet/util.h