diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-21 22:43:58 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-22 00:44:40 +0200 |
| commit | ba936eddbf88b6d8f650082f6e7d2694f8addac4 (patch) | |
| tree | 100f573c6ca7e8c35ca2a02d8ad7974d2b86c4bb /src/iobuf.h | |
| parent | dbbf15a7fad8b76122061344aeddb652bd4fe442 (diff) | |
Unused slot is denoted by MT_TRACKING_ID == -1
The current MT slot protocol allows any tracking id outside the range
specified by the device to denote an unused slot. This is difficult to
handle in userspace, since the valid range is unknown. This patch
tightens the definition of a valid tracking id to always lie in the
range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot.
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/iobuf.h')
0 files changed, 0 insertions, 0 deletions
