mirror of
https://github.com/apache/nuttx.git
synced 2025-12-08 02:32:54 +08:00
mm/iob: reserved bytes should be updated after each iteration
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -78,5 +78,6 @@ void iob_reserve(FAR struct iob_s *iob, unsigned int reserved)
|
||||
|
||||
iob->io_offset = offset;
|
||||
iob = iob->io_flink;
|
||||
reserved -= offset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user