Commit 1fc4c10
committed
mctp-estack: Remove ReceiveHandle
Cookies can now be set directly on the MctpMessage. Deferred users need
to call .retain() before dropping a a MctpMessage to avoid the
reassembler being marked as completed (that is handled inside the
Router).
Unused Reassembler slots are now stored as a State::Unused on the
Reassembler itself, rather than None in the Stack's reassembler array.
That make it more convenient for a Reassembler to set itself as unused
from the MctpMessage's drop handler.
Signed-off-by: Matt Johnston <[email protected]>1 parent 3ea4f6a commit 1fc4c10
6 files changed
+229
-297
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
88 | | - | |
| 87 | + | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
218 | 217 | | |
219 | 218 | | |
220 | 219 | | |
221 | | - | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
0 commit comments