libmemif: fix the buffer size 64/36764/2
authorMohsin Kazmi <sykazmi@cisco.com>
Wed, 27 Jul 2022 13:43:07 +0000 (13:43 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Mon, 29 Aug 2022 07:07:07 +0000 (07:07 +0000)
commit8a34484057895cb583f46915274de71550ac0f2d
tree22f667548e9feef49543dde83be542b71b37594e
parent6e284ef6ce66d3fa2fdd562dfe7e6ba65bd5a508
libmemif: fix the buffer size

Type: fix

Previously, libmemif can only use buffer size which
have to be power of 2. memif protocol does not enforce
this. This patch fixes this issue.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: Ic71e6a51685e2c2228c744920797064d4c7c65c9
extras/libmemif/src/main.c