diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2023-05-17 12:38:14 +0200 |
---|---|---|
committer | daniel <dwillmann@sysmocom.de> | 2023-05-19 12:50:21 +0000 |
commit | d4d03705f90e4a346f21ee2f328348b9ba37a201 (patch) | |
tree | 8cdd8b6024b70033231164a1bda9d1edab4f1a83 /tests | |
parent | 0c374c68a1f77e95de3043577c7b6058dcf23026 (diff) |
osmo_io: Improve handling and documentation of segmentation_cb
The read length is not needed in the segmentation callback, msgb
already has all the necessary information, the parameter previously was
just msgb_length(msg).
Also handle negative return values (except -EAGAIN) of the callback as
errors which cause the msg to be dropped. -EAGAIN will defer the msg.
Change-Id: I6a0eebb8d4490f09a3cc6eb97d4ff47b4a8fd377
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions