| 1 |
What were we doing when we stopped? |
| 2 |
funtest1.c |
| 3 |
test_sendto() |
| 4 |
Wed Sep 27 12:48:34 CDT 2000 |
| 5 |
We are about to write sctp_do_prm_asoc(). |
| 6 |
|
| 7 |
Thu Sep 28 15:58:27 CDT 2000 |
| 8 |
DONE |
| 9 |
|
| 10 |
test_run_network() |
| 11 |
Thu Sep 28 21:37:51 CDT 2000 |
| 12 |
We are testing. The first chunk we see in outqueue |
| 13 |
has a chunkID of 0 (DATA), not 1 (INIT). It also has |
| 14 |
a length of 0. It looks like a dummy chunk. |
| 15 |
|
| 16 |
Next thing will be struct SCTP_inqueue. We WILL |
| 17 |
produce an automated test for that structure! |
| 18 |
|
| 19 |
Fri Sep 29 19:41:21 CDT 2000 |
| 20 |
We fixed the bug mentioned above. |
| 21 |
We have created a unit test for SCTP_inqueue. |
| 22 |
Next, we should implement SCTP_inqueue. |
| 23 |
|
| 24 |
Mon Oct 2 11:03:10 CDT 2000 |
| 25 |
|
| 26 |
Mon Oct 2 18:07:14 CDT 2000 |
| 27 |
Finishing up on test_inqueue. Currently giving |
| 28 |
bad results for the chunk header for the second |
| 29 |
chunk popped. Also need to clean up validate_queue's |
| 30 |
type-casting to make the warning go away. |
| 31 |
|
| 32 |
Wed Oct 4 10:51:55 CDT 2000 |
| 33 |
We have fixed the warning. Still working on the 2nd chunk. |
| 34 |
|
| 35 |
Wed Oct 4 14:06:21 CDT 2000 |
| 36 |
We passed our first automated unit test!!! |
| 37 |
sctp_bundle_out() needs writing. |
| 38 |
|
| 39 |
Wed Oct 4 16:36:10 CDT 2000 |
| 40 |
writing sctp_bundle_out() |
| 41 |
writing ip_queue_xmit() |
| 42 |
trying to find out how to call sctp_v4_rcv() |
| 43 |
Thu Oct 5 18:40:49 CDT 2000 |
| 44 |
We believe that ip_queue_xmit() is "written". |
| 45 |
We think sctp_bundle_out() is written. |
| 46 |
We are stepping through test_run_network(),sctp_v4_rcv() |
| 47 |
We have made it out to ep_put(), near the end of |
| 48 |
sctp_v4_rcv(). |
| 49 |
bh_[un]lock_ep(), ep_put() need writing. |
| 50 |
We plan to continue through sctp_v4_rcv(). |
| 51 |
GOAL: return from test_run_network() by COB Friday |
| 52 |
|
| 53 |
Fri Oct 6 18:29:01 CDT 2000 |
| 54 |
Gee! We are calling ourselves forever! We need to |
| 55 |
break this cycle by implementing bottom half/top |
| 56 |
half... Welcome to the kernel! |
| 57 |
|
| 58 |
On the upside, we made it back up into do_5_1B_init(). |
| 59 |
Fix the BUG BUG BUG at the end of ip_queue_xmit(). |
| 60 |
|
| 61 |
Mon Oct 9 12:17:59 CDT 2000 |
| 62 |
We believe test_run_network() is written--we have |
| 63 |
completed on full loop. |
| 64 |
|
| 65 |
Here is what we expect in the next three iterations: |
| 66 |
Next loop: |
| 67 |
ep2: send the INIT_ACK |
| 68 |
ep1->asoc: process the INIT_ACK, enter COOKIE_ECHOED, queue COOKIE_ECHO |
| 69 |
ueber-next loop: |
| 70 |
ep1->asoc: send the COOKIE_ECHO, send the DATA |
| 71 |
ep2->asoc: process COOKIE_ECHO, make asoc in ESTABLISHED, queue COOKIE_ACK |
| 72 |
process DATA, queue SACK |
| 73 |
ueber^2-next loop: |
| 74 |
ep2->asoc: send COOKIE_ACK, SACK |
| 75 |
ep1->asoc: process COOKIE_ACK, enter ESTABLISHED, process SACK, |
| 76 |
free DATA |
| 77 |
|
| 78 |
Mon Oct 9 18:53:44 CDT 2000 |
| 79 |
The test for SCTP_outqueue now fails! Yay! |
| 80 |
Mon Oct 9 20:41:36 CDT 2000 |
| 81 |
The test for SCTP_outqueue now passes! Yay! |
| 82 |
|
| 83 |
Goal for tomorrow: Return from test_run_network(). |
| 84 |
Continue through the loop... |
| 85 |
|
| 86 |
The DATA packet is ending up in the endpoint queue, not the |
| 87 |
assoication queue. |
| 88 |
Tue Oct 10 15:26:54 CDT 2000 |
| 89 |
Fixed. This is correct behaviour, but now we look for |
| 90 |
the association AGAIN. |
| 91 |
|
| 92 |
The TSN is not getting set. This should happen in the |
| 93 |
SCTP_outqueue. |
| 94 |
Tue Oct 10 15:55:27 CDT 2000 |
| 95 |
Added a test to test_outqueue for TSN fix. |
| 96 |
Yay, test_outqueue fails! |
| 97 |
|
| 98 |
Added a test to test_inqueue for the end-of-packet |
| 99 |
callback feature. |
| 100 |
Tue Oct 10 17:32:53 CDT 2000 |
| 101 |
Passing test... We are now using the feature in sideeffects.c. |
| 102 |
Are we getting a SACK now? |
| 103 |
Tue Oct 10 18:58:25 CDT 2000 |
| 104 |
Yes! We ARE getting a SACK! Yahoo! |
| 105 |
|
| 106 |
Plan for tomorrow: sctp_recvmsg(), sctp_send_up(). This is |
| 107 |
probably a new data struture... |
| 108 |
|
| 109 |
Wed Oct 11 14:21:32 CDT 2000 |
| 110 |
Yes, it is several... 7? Sigh. |
| 111 |
Yay! test_ULPqueue fails! |
| 112 |
|
| 113 |
Wed Oct 11 16:56:06 CDT 2000 |
| 114 |
DANGER, WILL ROBINSON! NOT ALL UNIT TEST PASS! But the day |
| 115 |
is over and piggy needs to leave... |
| 116 |
WRITE sctp_ULPqueue.c:sctp_ULP_chunk2event() |
| 117 |
|
| 118 |
Thu Oct 12 12:08:23 CDT 2000 |
| 119 |
Put SCTP and IP headers on the test chunk. Make sure that |
| 120 |
skb->data, however, points at the actual payload. |
| 121 |
|
| 122 |
Thu Oct 12 15:40:00 CDT 2000 |
| 123 |
test_ULPqueue passes! Yahoo! |
| 124 |
Back to funtest1... |
| 125 |
|
| 126 |
options for things that changed which might corrupt the |
| 127 |
MD5digest: |
| 128 |
do_gettimeofday() replaced get_time() |
| 129 |
tv_add() replaced net_profile_add() |
| 130 |
get_random_bytes() replaced net_random() |
| 131 |
I switched to MD5 and the problem disappeared. This is very |
| 132 |
bad. The problem is that the SLA1 code is overruning the |
| 133 |
stack and creaming its parent's variables. Specifically, |
| 134 |
context->howManyInBlock is getting above 64 (the size of the |
| 135 |
block). This causes "leftToFill" to become negative at line |
| 136 |
195 and then things really fall apart. This looks like a bug |
| 137 |
to me, but it worked before... |
| 138 |
|
| 139 |
Fri Oct 13 10:14:37 CDT 2000 |
| 140 |
Goal for today: Get through ueber^2-next loop. |
| 141 |
|
| 142 |
Don't forget to look for that COOKIE ACK... |
| 143 |
|
| 144 |
Fri Oct 13 16:52:11 CDT 2000 |
| 145 |
We have delivered a data packet all the way to the user from |
| 146 |
the other user! We do not seem to have either a COOKIE_ACK OR |
| 147 |
a SACK. Such is life... More to do... We do not deliver the |
| 148 |
COMUP event either... |
| 149 |
|
| 150 |
We sort of deliver the COMMUNICATION_UP message. What a WASTE. |
| 151 |
|
| 152 |
We REALLY need to get back to COOKIE_ACK/SACK. By early next |
| 153 |
week we MUST be all the way to SHUTDOWN_ACK. |
| 154 |
|
| 155 |
Mon Oct 16 12:19:18 CDT 2000 |
| 156 |
We DID see that COOKIE_ACK/SACK. We have received three |
| 157 |
packets. Check to make sure we got the second SACK. |
| 158 |
|
| 159 |
Goal for today: Generate a SHUTDOWN. This means a new event |
| 160 |
type for the state machine: OTHER. |
| 161 |
|
| 162 |
Mon Oct 16 15:11:16 CDT 2000 |
| 163 |
We have finished sctp_close(). |
| 164 |
|
| 165 |
Mon Oct 16 20:52:42 CDT 2000 |
| 166 |
We got a SHUTDOWN processed. |
| 167 |
|
| 168 |
The NO PENDING TSN event needs to be scheduled so that it |
| 169 |
happens AFTER all the side effects for the PRIOR event. |
| 170 |
|
| 171 |
Refactor the SACK processing OUT of sctp_outqueue.c--use the |
| 172 |
empty handler. REMEMBER TO WRITE THE TEST FIRST! |
| 173 |
|
| 174 |
Once all that works, continue on to generating SHUTDOWN ACK. |
| 175 |
|
| 176 |
Goal for tomorrow: pass empty handler test, get back to the |
| 177 |
point in the functional test where we are ready to generate |
| 178 |
SHUTDOWN ACK. |
| 179 |
|
| 180 |
Stretch goal for tomorrow: Get to the end of the functional test. |
| 181 |
|
| 182 |
Tue Oct 17 11:39:00 CDT 2000 |
| 183 |
We added sctp_delayed_side_effects() where we can execute side |
| 184 |
effects which MUST happen after all other side effects are |
| 185 |
processed. |
| 186 |
|
| 187 |
The test for the empty queue feature now fails! |
| 188 |
|
| 189 |
Tue Oct 17 11:54:51 CDT 2000 |
| 190 |
The test for the empty queue feature now passes! |
| 191 |
|
| 192 |
We have decided to put this off until post-Bakeoff: |
| 193 |
Refactor the SACK processing OUT of |
| 194 |
sctp_outqueue.c--use the empty handler. REMEMBER TO |
| 195 |
WRITE THE TEST FIRST! |
| 196 |
P.S. We DO use the empty handler now, but SACK processing is |
| 197 |
still partially embedded in outqueue. |
| 198 |
|
| 199 |
|
| 200 |
DONE: sctp_do_9_2_final() should generate an event to send to the |
| 201 |
ULP... |
| 202 |
DONE: We need to deal with the possibility of an association |
| 203 |
unlinking in the middle of an SK_FOR. |
| 204 |
If there are undelivered notifications in association, delay |
| 205 |
its freedom. |
| 206 |
|
| 207 |
Tue Oct 17 18:17:07 CDT 2000 |
| 208 |
We completed the full protocol negotiation in funtest1.c! |
| 209 |
Yahoo! |
| 210 |
DONE: All that remains is to keep the association around |
| 211 |
long enough to deliver the final notification. |
| 212 |
DONE: Also, sctp_do_4_C needs to generate a ULP event too... |
| 213 |
The three major tools... No, four... |
| 214 |
|
| 215 |
Goal for tomorrow: |
| 216 |
1) Running functional test by lunch time. |
| 217 |
2) Make the kernel link. |
| 218 |
|
| 219 |
Wed Oct 18 10:42:40 CDT 2000 |
| 220 |
We now set the destination address correctly. (We think...) |
| 221 |
|
| 222 |
Wed Oct 18 12:42:05 CDT 2000 |
| 223 |
The unit tests run again. Setting destination addresses broke |
| 224 |
a couple of them... |
| 225 |
|
| 226 |
Wed Oct 18 14:45:26 CDT 2000 |
| 227 |
Yeehaw! The functional test passes! |
| 228 |
|
| 229 |
Wed Oct 18 15:23:26 CDT 2000 |
| 230 |
The kernel links! |
| 231 |
|
| 232 |
Tasks: |
| 233 |
Write a kernel functional test. Make it fail. |
| 234 |
Write sctp_sendmsg(). |
| 235 |
Register all the SCTP structs in the right places... |
| 236 |
Move funtest1.c:test_run_network functionality into the |
| 237 |
kernel. |
| 238 |
|
| 239 |
Wed Oct 18 16:44:30 CDT 2000 |
| 240 |
funtest2 now fails! Yay! It features cool error messages... |
| 241 |
|
| 242 |
goals for tomorrow: |
| 243 |
DONE: 1) Write sctp_sendmsg(). |
| 244 |
DONE: 2) Register all the SCTP structs in the right places... |
| 245 |
|
| 246 |
Thu Oct 19 12:09:43 CDT 2000 |
| 247 |
We have a first draft of sctp_sendmsg(). |
| 248 |
DONE: Write lower level functions for sctp_sendmsg(). |
| 249 |
DONE: Fix the retval misuses in sctp_recvmsg(). |
| 250 |
DONE: Check all of sctp_socket.c for user space memory references. |
| 251 |
|
| 252 |
Thu Oct 19 18:10:27 CDT 2000 |
| 253 |
FIXED: We are failing to generate SACKS. It appears that pop_inqueue |
| 254 |
is deciding that eop is not happening for data chunks. |
| 255 |
|
| 256 |
Thu Oct 19 21:32:36 CDT 2000 |
| 257 |
It appears that at least the three key structures (sctp_prot, |
| 258 |
sctp_protocol, and inet_seqpacket_ops) are properly |
| 259 |
registered. |
| 260 |
|
| 261 |
We also sort of fixed a problem with queue_xmit--it needs to |
| 262 |
be transport specific. We still do not set it properly in the |
| 263 |
transport structure, but as a hack, we steal it from the ep. |
| 264 |
|
| 265 |
goals for Friday: |
| 266 |
1) Move funtest1.c:test_run_network functionality into the |
| 267 |
kernel. |
| 268 |
2) Have a real kernel panic! |
| 269 |
3) Move the repository onto one of the laptops... |
| 270 |
|
| 271 |
|
| 272 |
Fri Oct 20 18:23:43 CDT 2000 |
| 273 |
test_inqueue now fails after changing handler handling |
| 274 |
(i.e. item 1 above)! |
| 275 |
|
| 276 |
Fri Oct 20 18:39:30 CDT 2000 |
| 277 |
test_inqueue now passes! (as do test_outqueue & test_ULPqueue) |
| 278 |
funtest1, anyone? |
| 279 |
|
| 280 |
We refactored to get rid of sctp_sm_delayed_sideeffects(). |
| 281 |
This led to outqueue empty processing getting a LOT cleaner. |
| 282 |
This also forced us to fix the empty test in test_outqueue and |
| 283 |
feed it a REAL(ish) SACK. This led us in turn to a VERY |
| 284 |
subtle TSN bug. XP RULES! YOW YOW YOW!!!! |
| 285 |
|
| 286 |
Fri Oct 20 23:28:57 CDT 2000 |
| 287 |
We passed the functional test and all the unit tests. We |
| 288 |
think we have something we MIGHT be able to link into a kernel |
| 289 |
and test... |
| 290 |
|
| 291 |
3) Move the repository onto one of the laptops... |
| 292 |
|
| 293 |
Goal for Monday: |
| 294 |
2) Have a real kernel panic! |
| 295 |
|
| 296 |
|
| 297 |
Tue Oct 24 16:10:44 CDT 2000 |
| 298 |
Still no kernel panic, but we have some things which seem to work! Yowza! |
| 299 |
|
| 300 |
Specifically, sctp_socket(), and sctp_bind() appear to work. We get an |
| 301 |
-EFAULT when we call sctp_sendmsg(). In sctp_recvmsg() we had a hang. |
| 302 |
|
| 303 |
Tue Oct 24 16:57:05 CDT 2000 |
| 304 |
unit tests pass (again)! Yahoo! |
| 305 |
|
| 306 |
Wed Oct 25 10:57:59 CDT 2000 |
| 307 |
funtest3 rewritten to use getopt and support addresses other |
| 308 |
than the loopback. |
| 309 |
Wed Oct 25 11:47:18 CDT 2000 |
| 310 |
funtest3 --listen fails! |
| 311 |
|
| 312 |
|
| 313 |
Thu Oct 26 00:18:43 GMT-6 2000 |
| 314 |
Why are we getting EINVAL? |
| 315 |
- We are certain that the address going to bind is in kernel space. |
| 316 |
- Add the endpoint port--we wish to differentiate the two |
| 317 |
possible failures. |
| 318 |
|
| 319 |
Wed Oct 25 16:38:56 CDT 2000 |
| 320 |
We are setting the peer's port to network byte order in one or |
| 321 |
both of the following: sctp_create_asoc(), sctp_add_transport(). |
| 322 |
We are trying to make funtest1 pass again... |
| 323 |
|
| 324 |
We are trying to not panic in funtest3 --listen. |
| 325 |
|
| 326 |
Thu Oct 26 14:23:08 CDT 2000 |
| 327 |
Created the macro DEBUG_PRINT() and a matching unit test |
| 328 |
(foolishly put in funtest1.c...). It failed! It passes! |
| 329 |
|
| 330 |
By the end of the day we completed a full INIT-DATA-SHUTDOWN |
| 331 |
sequence with the user space refimpl! We listened and the |
| 332 |
usref initiated. |
| 333 |
|
| 334 |
Fri Oct 27 08:46:41 CDT 2000 |
| 335 |
Goal for today: Do the equivalent of funtest2 with funtest3 |
| 336 |
(interoperate both directions with the usref). |
| 337 |
|
| 338 |
Fri Oct 27 10:13:39 CDT 2000 |
| 339 |
funtest3 --send fails! |
| 340 |
|
| 341 |
Tue Jan 16 01:54:34 CST 2001 |
| 342 |
We have two bugs: |
| 343 |
1) Line 277 in sctp_endpointola.c. |
| 344 |
2) We need to handle non-existent ep properly, almost |
| 345 |
everywhere. |
| 346 |
We need to add a blow-away-the-endpoint test to one of the |
| 347 |
functional tests. |
| 348 |
|
| 349 |
Wed Jan 17 02:19:18 CST 2001 |
| 350 |
We fixed bug 1, and now cherish bug 2 wholeheartedly. |
| 351 |
|
| 352 |
We don't (?) need a blow-away-ep test, but we eventually need |
| 353 |
to work on the out-of-the-blue-packet story. |
| 354 |
|
| 355 |
We now pass funtest1 and funtest1b (Yeah!). |
| 356 |
|
| 357 |
Next up: funtest3 with back to back associating, and (dare we |
| 358 |
hope?) funtest2. (Note: _No_ _work_ will be done to fix |
| 359 |
funtest2 until after the Developers' Release.) |
| 360 |
|
| 361 |
Tue Jan 30 16:00:26 CST 2001 |
| 362 |
We have a simple-minded merge of our SCTP changes into 2.4.1. |
| 363 |
This merely resolved the conflicts--tag 'linux-2_4_1+sctp' will |
| 364 |
NOT compile. We need to do all the data structure changes. |
| 365 |
|
| 366 |
|
| 367 |
Tue Feb 27 20:07:52 CST 2001 |
| 368 |
|
| 369 |
In the middle of getting funtest1 to work (again), test_print_message |
| 370 |
prints a bad type for a message. May be a related CORE_DUMP in there |
| 371 |
somewhere too... |
| 372 |
|
| 373 |
Fri Mar 2 20:50:22 CST 2001 |
| 374 |
|
| 375 |
We believe that sctp_flush_outqueue is pretty-much ready except for |
| 376 |
starting the timers. We need to stop the timers in |
| 377 |
need to generate the timeouts ( |
| 378 |
|
| 379 |
6.3.2 R2 tells us to turn off T3-rtx when we get acks for all data on |
| 380 |
an address... |
| 381 |
|
| 382 |
We REALLY want a per-transport transmitted queue. What we want to do |
| 383 |
is a outqueue-private component of the transport data structure. |
| 384 |
|
| 385 |
DONE: PLAN FOR MONDAY: Make a release w/o lost_data packet. |
| 386 |
PLAN FOR Wednesday after next: Release including lost data packet and |
| 387 |
whatever else we jam in... |
| 388 |
|
| 389 |
DONE: Write a unit test for bundling. |
| 390 |
Pass the unit test for bundling. |
| 391 |
Make the transmitted queues transport based because we need a per |
| 392 |
transport timer which gets turned off when there is nothing in flight. |
| 393 |
Make ft_frame_lostpacket pass. |
| 394 |
|
| 395 |
Tue Mar 13 19:44:27 CST 2001 |
| 396 |
We are working on getting test_outqueue to work again, this time with |
| 397 |
bundling. The code compiles, but still dumps core. It looks like a |
| 398 |
bug in the test frame (q->asoc is NULL). |
| 399 |
|
| 400 |
Wed Mar 14 14:07:51 CST 2001 |
| 401 |
The unit tests (including the bundling mods for test_outqueue) pass. |
| 402 |
The mods were to comment out sock_hold in the set_owner..., since it |
| 403 |
kept landing us in the real kernel code (asm/atomic.h). We thought |
| 404 |
this was due to string.h, but that gets called in somewhere magically |
| 405 |
too. |
| 406 |
|
| 407 |
Final mod was an if around the last sctp_transmit_packet for when the |
| 408 |
payload size isn't > 0. I (KK) added a catcher for payload_size < 0. |
| 409 |
|
| 410 |
Now on to making the transmitted queues transport based.(?) |
| 411 |
|
| 412 |
Wed Mar 14 16:26:59 CST 2001 |
| 413 |
Have added transmitted (not private) to SCTP_transport and initted in |
| 414 |
sctp_add_transport(). Next would be sctp_flush_outqueue(). |
| 415 |
|
| 416 |
Thu Mar 15 19:15:24 CST 2001 |
| 417 |
Whew. We added transport-transmitted to sctp_empty_outqueue(), |
| 418 |
sctp_flush_outqueue() and sack_outqueue(). We also took the |
| 419 |
check-transmitted-queue logic out of sctp_sack_outqueue() and added |
| 420 |
sctp_check_transmitted(). |
| 421 |
|
| 422 |
We also isolated a wacky SK_FOR behavior that had us stumped for a |
| 423 |
while. If you pass a local variable to SK_FOR as the_list, it has |
| 424 |
trouble ending the for loop since the local variable is on the stack |
| 425 |
(for the calling function), but the end iteration for the for"ing" |
| 426 |
(the real the_list) would be whereever it was before being copied into |
| 427 |
the local variable. |
| 428 |
|
| 429 |
Anyhow, the unit tests pass (although we haven't committed yet.) |
| 430 |
|
| 431 |
Fri Mar 16 19:19:01 CST 2001 |
| 432 |
We fixed a padding problem with the bundling code (and its attendant |
| 433 |
problems with the ULPqueue/recvmsg code). The unit tests and all |
| 434 |
ft_frame tests (except lostpacket, naturally) pass! Have not run |
| 435 |
ft_kernel_basic yet. Despite this, I'm committing, since La Monte and |
| 436 |
I(KK) will be at the IETF next week. I also need to remember to put |
| 437 |
Perry's name in the code he's worked on. |
| 438 |
|
| 439 |
|
| 440 |
Mon Mar 19 17:31:37 CST 2001 |
| 441 |
We were creating a new kind of smart pipe, the SCTP_packet. Stuff |
| 442 |
packets in the top until they transmit. |
| 443 |
|
| 444 |
Tue Mar 27 11:26:26 CST 2001 |
| 445 |
Write the unit test for SCTP_packet. |
| 446 |
|
| 447 |
Fri Apr 6 01:18:32 CDT 2001 |
| 448 |
We THINK we have a full implementation of the sockets protocol table. |
| 449 |
We will have a go at integrating af[6]_inet.c into our test frame so |
| 450 |
we can write tests for it... |
| 451 |
|
| 452 |
Tue Apr 10 11:39:13 CDT 2001 |
| 453 |
Finish SCTP_packet today. |
| 454 |
|
| 455 |
Tue Apr 10 21:39:25 CDT 2001 |
| 456 |
Yeah, right. |
| 457 |
|
| 458 |
OK, we're in the middle of transforming transmitted_queue and |
| 459 |
sacked_queue into struct list_head's so that we can avoid copying |
| 460 |
chunks when putting them in packets. |
| 461 |
|
| 462 |
What remains: |
| 463 |
DONE: Make test_outqueue compile. |
| 464 |
UNDONE: Make test_outqueue fail. |
| 465 |
DONE: Finish transforming SCTP_outqueue to the new interfaces. |
| 466 |
DONE: Make test_outqueue pass. |
| 467 |
|
| 468 |
DONE: Make test_packet compile. |
| 469 |
DONE: Make test_packet fail. |
| 470 |
DONE: Write SCTP_packet (sctp_output.c). |
| 471 |
DONE: Make test_packet pass. |
| 472 |
|
| 473 |
DOING: Get on with lost packet. |
| 474 |
|
| 475 |
Wed Apr 11 16:38:52 CDT 2001 |
| 476 |
Yay! We have test_outqueue passing... |
| 477 |
|
| 478 |
Thu Apr 12 10:23:01 CDT 2001 |
| 479 |
Goal for today: Make test_packet compile and fail. |
| 480 |
Do an intermediate commit. |
| 481 |
|
| 482 |
Thu Apr 12 16:56:53 CDT 2001 |
| 483 |
We hit our goal for the day! |
| 484 |
We've just finished the horrible table in sctp_append_chunk(). |
| 485 |
We need to write sctp_transmit_packet(). |
| 486 |
|
| 487 |
Mon Apr 16 10:39:27 CDT 2001 |
| 488 |
DONE: Goal for the day: Get all unit tests to pass (test_packet being the |
| 489 |
current red-headed-stepchild.) |
| 490 |
|
| 491 |
Mon Apr 16 15:36:42 CDT 2001 |
| 492 |
Yay! We've hit today's goal! |
| 493 |
|
| 494 |
Mon Apr 16 17:22:44 CDT 2001 |
| 495 |
Milestone: all ft_frame passes except lostpacket (Almost out of the |
| 496 |
refactoring quagmire...). |
| 497 |
|
| 498 |
Mon Apr 16 19:12:37 CDT 2001 |
| 499 |
Milestone: ft_frame_lostpacket now fails (after being rewritten a bit). |
| 500 |
|
| 501 |
SKIPPED: Fix up the statefun retval to communicate timer updates properly. |
| 502 |
DONE: Start the rtx timer. |
| 503 |
DONE: Make sure the rtx timer set/clear events are generated by the |
| 504 |
appropriate state functions. |
| 505 |
DONE: Create the rtx timeout state function. |
| 506 |
Update the side effects to: |
| 507 |
SKIPPED: Process rtx timer updates. |
| 508 |
DONE: Move chunks from transmitted to retransmit. |
| 509 |
DONE: Call flush with rtx_timeout set. |
| 510 |
|
| 511 |
Plan for tomorrow: |
| 512 |
DONE: Create the timeout event. |
| 513 |
DONE: Make ft_frame_lostpacket pass. |
| 514 |
DONE: Run ft_kernel_basic, make it pass. |
| 515 |
DONE: Run sctp_darn tests. (They failed, though...) |
| 516 |
|
| 517 |
Tue Apr 17 17:27:15 CDT 2001 |
| 518 |
ft_frame_lostpacket passes! Yeeha! |
| 519 |
|
| 520 |
Tue Apr 17 19:01:22 CDT 2001 |
| 521 |
ft_kernel_basic passes--insignificant changes needed for compilation. |
| 522 |
|
| 523 |
Wed Apr 18 14:58:30 CDT 2001 |
| 524 |
DONE: Write ft_frame_evenpackets. |
| 525 |
DONE: Have it compile and fail. |
| 526 |
DONE: Write sack timer support code. |
| 527 |
DONE: Have it compile and succeed. |
| 528 |
|
| 529 |
Wed Apr 18 16:36:17 CDT 2001 |
| 530 |
We did a small refactoring where we changed most instances of |
| 531 |
struct timeval into jiffies. We can't do this for every struct timeval |
| 532 |
since sk->stamp is a struct timeval and we use this to check cookie |
| 533 |
lifetimes. C'est la vie. So geht es in Leben. |
| 534 |
|
| 535 |
ft_frame_evenpackets fails! Yeeha! |
| 536 |
All unit tests pass! |
| 537 |
|
| 538 |
Thu Apr 19 10:34:04 CDT 2001 |
| 539 |
Goal for morning: ft_frame_evenpackets passes. |
| 540 |
To make it pass, the sack timer should be: |
| 541 |
DONE: - initialized |
| 542 |
DONE: - started |
| 543 |
DONE: - stopped |
| 544 |
DONE: - event (expiration) |
| 545 |
DONE: - state function |
| 546 |
|
| 547 |
DONE: - sctp_do_timerWork |
| 548 |
|
| 549 |
Thu Apr 19 13:17:08 CDT 2001 |
| 550 |
We've written the sack timer code and it compiles, but the ft still |
| 551 |
fails. |
| 552 |
|
| 553 |
Thu Apr 19 15:39:58 CDT 2001 |
| 554 |
ft_frame_evenpackets passes! Yay! |
| 555 |
|
| 556 |
What we need to do for multihoming: |
| 557 |
DONE: Extend test frame for multilink. |
| 558 |
Write ft_frame_lostlink. |
| 559 |
Make ft_frame_lostlink compile. |
| 560 |
Make ft_frame_lostlink fail. |
| 561 |
Write multi-homing support: |
| 562 |
- Add counter events to OTHER table |
| 563 |
- Stroke error counts (8.2) |
| 564 |
DONE: - Write sctp_bindx() (API 8.1) |
| 565 |
- Clear error counter when RTX timer is stopped. (8.2) |
| 566 |
- Do failover state function (8.2, 6.4.1) |
| 567 |
- Do failover side effects |
| 568 |
- Change sctp_transmit_packet() to modify the socket for the chosen |
| 569 |
destination address. |
| 570 |
- Change transport selection to skip inactive destinations (bakeoff 3.6) |
| 571 |
Make ft_frame_lostlink pass. |
| 572 |
|
| 573 |
Thu Apr 19 23:01:11 CDT 2001 |
| 574 |
We need to refactor the whole INIT/INIT ACK/COOKIE ECHO startup |
| 575 |
sequence to make the INIT header processing more symmetric. In |
| 576 |
particular, we are going to put the whole INIT chunk (with all |
| 577 |
parameters) into the cookie and simplify the cookie as much as |
| 578 |
possible. This allows both sides to take a skeletal association and |
| 579 |
an INIT packet and build a full association. |
| 580 |
|
| 581 |
Check whether the initial destination address needs to be |
| 582 |
automagically added to the list of IP addresses for the association. |
| 583 |
|
| 584 |
Fri Apr 20 17:28:42 CDT 2001 |
| 585 |
We're in the middle of the aforementioned refactoring. We are working |
| 586 |
our way through the function do_5_1B_init(). Credo that |
| 587 |
sctp_make_temp_asoc() is now properly rewritten. Next to rewrite is |
| 588 |
sctp_make_init_ack(). |
| 589 |
|
| 590 |
tar up THIS directory heirarchy |
| 591 |
copy to both laptops |
| 592 |
check out the most recent CVS'd stuff on both laptops |
| 593 |
|
| 594 |
|
| 595 |
Sat Apr 21 18:31:28 CDT 2001 |
| 596 |
I'm in the middle of sctp_unpack_cookie(). Make sure that everything |
| 597 |
lines up properly... I THINK the static parts of the INIT are still |
| 598 |
unaccounted for. Maybe. Maybe not... No, I think those are part of |
| 599 |
asoc->c, in which case, they are properly handled. |
| 600 |
|
| 601 |
Check that we do all three passes through the variable-length |
| 602 |
parameters: INIT, INIT ACK, COOKIE ECHO (INIT is in the cookie). |
| 603 |
|
| 604 |
Sun Apr 22 01:46:21 CDT 2001 |
| 605 |
See the FIX ME in sctp_unpack_cookie(); |
| 606 |
|
| 607 |
Tue Apr 24 16:43:30 CEST 2001 |
| 608 |
sctp_make_cookie_echo() in sctp_side_effects() returns a malformed chunk. |
| 609 |
|
| 610 |
Thu Apr 26 10:44:15 CEST 2001 |
| 611 |
We have a buildable kernel and we pass all unit and functional tests |
| 612 |
except ft_frame_lostlink. ft_kernel_basic remains untested. The plan |
| 613 |
for today is to get some interop test run with Sun and perhaps some |
| 614 |
others... |
| 615 |
|
| 616 |
Thu Apr 26 18:36:54 CEST 2001 |
| 617 |
We have a deadly INIT packet from Sun. We are trying to make a test |
| 618 |
frame from the deadly packet. |
| 619 |
|
| 620 |
Added WORD_ROUND() to sctp_addto_chunk() to support correct parameter |
| 621 |
bounding... |
| 622 |
|
| 623 |
Added some infrastructure to support replacing arbitrary packets in a |
| 624 |
transaction. This doesn't work yet and isn't quite as flexible as we |
| 625 |
really want. |
| 626 |
|
| 627 |
Fri Apr 27 11:34:22 CEST 2001 |
| 628 |
Start the SSN at 0, not 1. |
| 629 |
Increment the SSN. |
| 630 |
|
| 631 |
Tue May 1 16:11:17 CDT 2001 |
| 632 |
These are the changes that piggy made on the airplane from Nice: |
| 633 |
|
| 634 |
DONE: Do duplicate checking in sctp_bind_endpoint(). |
| 635 |
|
| 636 |
DONE: Add struct bare_ip_sctp_packet. |
| 637 |
|
| 638 |
DONE: Modify CHUNK_TYPE() so that it can work even if an IP header is present. |
| 639 |
|
| 640 |
DONE: Fix the calls to CHUNK_TYPE(). The first call is on an IP packet with |
| 641 |
a header. |
| 642 |
|
| 643 |
Wed May 9 15:39:23 CDT 2001 |
| 644 |
|
| 645 |
Implement Jon Grimm's suggestion about sctp_init(). |
| 646 |
|
| 647 |
DONE: 1. Take the sctp_proto_initted check out of sctp_get_protocol(). |
| 648 |
|
| 649 |
DONE: 2. Call module_init(sctp_init) at the end of sctp_protocol.c |
| 650 |
(Less random, but more thoughtful, placement.) |
| 651 |
|
| 652 |
DONE: 3. Modify the frame tests to call sctp_init() directly. |
| 653 |
DONE: 4. Test the simulated daylights out of it. |
| 654 |
UNDONE: 5. Test the living daylights out of it. |
| 655 |
|
| 656 |
|
| 657 |
Wed May 9 16:41:47 CDT 2001 |
| 658 |
DONE: Include <sys/sctp.h> from sctpConstants.h. |
| 659 |
DONE: Go through sctpConstants.h looking for stuff needed by the user and |
| 660 |
moving it to sys/sctp.h. |
| 661 |
DONE: Go through sctpEvent.h looking for stuff needed by the user and |
| 662 |
moving it to sys/sctp.h. |
| 663 |
DONE: Test the simulated daylights out of it. |
| 664 |
DONE: Test the living daylights out of it. |
| 665 |
|
| 666 |
Thu May 10 11:55:57 CDT 2001 |
| 667 |
We moved kernel/include/sys/sctp.h to linux/include/linux/sctp.h. The |
| 668 |
kernel does NOT have an include/sys/ directory, and |
| 669 |
include/linux/tcp.h has sortof similar semantics... |
| 670 |
|
| 671 |
Move linux/include/linux/sctp.h to kernel/include/net/sctp/sctp_user.h |
| 672 |
and copy THAT to kernel/usr_include/netinet/sctp.h. |
| 673 |
|
| 674 |
Thu May 10 16:34:35 CDT 2001 |
| 675 |
Here are all the horrible places we need to put "132": |
| 676 |
DONE: /usr/include/linux/socket.h |
| 677 |
DONE: /usr/include/linux/in.h |
| 678 |
DONE: /usr/include/netinet/in.h |
| 679 |
These are all in kernel/usr_include and kernel/Makefile has been |
| 680 |
modified appropriately. |
| 681 |
|
| 682 |
DONE:Tomorrow: Describe the hijack attack in detail in an email message to |
| 683 |
Randy and Qiaobing. |
| 684 |
|
| 685 |
Fri May 11 15:43:46 CDT 2001 |
| 686 |
Next possible tricks are to work up tests for the SACK processing/RTX |
| 687 |
work, the spicy INIT, or ft_frame_lostlink. |
| 688 |
|
| 689 |
We will extend ft_frame_lostpacket to include multiple lost packets |
| 690 |
and we will have it check reordering. |
| 691 |
|
| 692 |
Wed May 16 14:50:29 CDT 2001 |
| 693 |
First pass priority list: Develop tests for these bugs encountered at |
| 694 |
the 3rd bakeoff. (For Wednesday, go for the low hanging fruit.) |
| 695 |
|
| 696 |
BUG: We ignore ABORT. |
| 697 |
TRACE: compaq3_paddedinitackOK.tcp |
| 698 |
TEST: ft_frame_abort |
| 699 |
|
| 700 |
BUG: We will send extra data before we get a COOKIE ACK... |
| 701 |
TRACE: datakinectics_2 |
| 702 |
We really lucked out and this implementation ran fine... |
| 703 |
TEST: <ft_frame_delayed_cookie_ack, this involves adding a packet |
| 704 |
delay queue to the network simulation> |
| 705 |
|
| 706 |
BUG: We have an INIT that causes an oops. |
| 707 |
TRACE: sun (lost trace) |
| 708 |
TEST: ft_frame_init_bomb |
| 709 |
|
| 710 |
BUG: This INIT ACK causes an oops. |
| 711 |
TRACE: telesoft2_lostsendings.tcp, telesoft3_spicyinitack.tcp |
| 712 |
TEST: <new test: modified ft_frame_init_bomb> |
| 713 |
|
| 714 |
BUG: We don't gap ACK. |
| 715 |
BUG: We retransmitted a TSN which they had gap ack'd. |
| 716 |
TRACE: datakinectics_3, ulticom_3 |
| 717 |
TEST: <extend ft_frame_lostpackets to add tests for gap acking> |
| 718 |
|
| 719 |
BUG: We produce MANY SACK's in a row. Bleah. This isn't officially |
| 720 |
a bug. Is it legal for us to look ahead in our input buffer? |
| 721 |
Well, Stevens thinks that this is correct behaviour. We should |
| 722 |
NOT look ahead in our input buffer. |
| 723 |
TRACE: adax2_goodsend.tcp |
| 724 |
TEST: no test needed |
| 725 |
|
| 726 |
BUG: We did not bundle retransmissions. |
| 727 |
TRACE: adax2_goodsend.tcp |
| 728 |
TEST: <modify ft_frame_lost_packets, catch the retransmissions and |
| 729 |
inspect them on the wire (in Internet[]).> |
| 730 |
|
| 731 |
Mon May 21 15:56:47 CDT 2001 |
| 732 |
Today and Tuesday are SCTP days. (Like Crazy Days, only more SCTP and |
| 733 |
less street fair.) |
| 734 |
|
| 735 |
Write the ABORT test. |
| 736 |
|
| 737 |
Tue May 22 18:49:51 CDT 2001 |
| 738 |
Once again, we are changing the end-of-packet handling to solve some |
| 739 |
nasty problem. There are two issues here: |
| 740 |
FIXED: - sctp_tq_sideeffects is global and very dangerous (i.e. wrong) |
| 741 |
FIXED: - sctp_gen_sack can be called on an aborted association--it |
| 742 |
still has a pointer to the free'd memory... |
| 743 |
|
| 744 |
Solution: |
| 745 |
We are marking the last chunk in a packet as the final chunk. |
| 746 |
DONE: - Add the eop flag to SCTP_chunk. |
| 747 |
DONE: - Set the eop flag for the final chunk (sctp_pop_inqueue()). |
| 748 |
DONE: - Initialize the eop flag when we create a new chunk (sctp_chunkify()). |
| 749 |
DONE: - Add gensack to the retval structure. |
| 750 |
DONE: - Modify the data state function to set retval->gensack if eop is set. |
| 751 |
|
| 752 |
DONE: - Set up gensack side effect. |
| 753 |
DONE: - Fix up the prototype for sctp_gen_sack(). |
| 754 |
|
| 755 |
DONE: - Create asoc->sack_needed. |
| 756 |
DONE: - Dispose of asoc->peer.dataSeen |
| 757 |
DONE: - Dispose of asoc->counters[SctpCounterAckState] |
| 758 |
DONE: - Dispose of chunk->counted |
| 759 |
|
| 760 |
DONE? - Dispose of sctp_tq_sideeffects and friends. |
| 761 |
DONE: -- call sctp_other_no_pending_TSN() from sctp_side_effects(). |
| 762 |
DONE: -- eliminate handlers.empty, etc... |
| 763 |
|
| 764 |
Wed May 23 14:43:44 CDT 2001 |
| 765 |
Pass the rest of the ABORT test. This means we want to GENERATE |
| 766 |
aborts. This is the function tabort_8_4_8. |
| 767 |
|
| 768 |
Since we need to generate ABORTs in the CLOSED state, we want to have |
| 769 |
a way to send them without having to build a temporary association. |
| 770 |
|
| 771 |
We will generate a packet for this purpose |
| 772 |
and will call sctp_transmit_packet() on it at the appropriate time. |
| 773 |
|
| 774 |
DONE: - extract relevant data from chunk and endpoint. |
| 775 |
DONE: - change sctp_init_packet to not require the association. |
| 776 |
- build packet |
| 777 |
DONE: - build transport |
| 778 |
DONE: -- refactor sctp_add_transport() to create a sctp_make_transport(). |
| 779 |
DONE: --- Add fields for storing af_specific in proto. |
| 780 |
DONE: --- Initialize the af_specific parts of proto. |
| 781 |
DONE: --- Add a mechanism for fetching af_specific from proto. |
| 782 |
DONE: - add retval->packet |
| 783 |
DONE: - add retval->packet handling to SCTP_DISPOSITION_DISCARD. |
| 784 |
DONE: - add prototype for sctp_get_af_specific() |
| 785 |
DONE: - add prototype for sctp_make_transport() |
| 786 |
DONE: - fix call to t_new() |
| 787 |
|
| 788 |
DONE: - Update the state tables to call tabort. |
| 789 |
|
| 790 |
Tue May 29 11:53:18 CDT 2001 |
| 791 |
We are applying Jon Grimm's patch. |
| 792 |
DONE: - Edit patch |
| 793 |
DONE: - Apply patch |
| 794 |
DONE: - Add Jon's contact info |
| 795 |
DONE: - unit_test |
| 796 |
DONE: - frametest |
| 797 |
|
| 798 |
Add Xingang Guo's patch. |
| 799 |
DONE: - Edit patch |
| 800 |
DONE: - Apply patch |
| 801 |
DONE: - Check the lock coverage paths |
| 802 |
|
| 803 |
Main changes from patch: |
| 804 |
-- sctp_{lock|release}_sock() |
| 805 |
-- moved locking in sctp_sendmsg() to right before looking up association |
| 806 |
-- checking return values of copy_{to|from}_user |
| 807 |
-- goto out_unlock for EVERY setting of err in sctp_sendmsg() |
| 808 |
-- sctp_setsockopt() had returns with locked socket. |
| 809 |
|
| 810 |
DONE: - Update copyright and credits |
| 811 |
DONE: - is emsg->msg_flags properly initialized somewhere? |
| 812 |
-- Yes, but it might not conform to the API draft... |
| 813 |
DONE: - unit_test |
| 814 |
DONE: - frametest |
| 815 |
|
| 816 |
DONE: - kerneltest |
| 817 |
|
| 818 |
DONE: - Make new release |
| 819 |
DONE: - publish release to Source Forge. |
| 820 |
DONE: - Send note to list detailing changes to Xingang's patch... |
| 821 |
|
| 822 |
Thu Jun 14 17:41:04 CDT 2001 |
| 823 |
A plan for patch application. We have 5 patches: |
| 824 |
|
| 825 |
jgrimm_delayed_ia_01_Jun.patch (subsumed by next one) |
| 826 |
jgrimm_tsn_lt_04_Jun.patch (subsumed by next one) |
| 827 |
EDITED: jgrimm_ecn_06_Jun.patch |
| 828 |
|
| 829 |
DONE: We still want to edit Jon's patch to deal with the ecn_allowed vs. |
| 830 |
ecn_capable issue. |
| 831 |
|
| 832 |
Mon Jun 18 12:07:32 CDT 2001 |
| 833 |
DONE: xingang_patch.debug.v011 |
| 834 |
xingang_patch.INIT_ACK.v011 |
| 835 |
|
| 836 |
Wed Jun 20 18:06:20 CDT 2001 |
| 837 |
Fix Daisy's bug: Null pointer check needed for chunks |
| 838 |
|
| 839 |
sctp_make_chunk() may return a NULL pointer, therefore, |
| 840 |
every place that sctp_make_chunk() is called needs to |
| 841 |
verify the return value to prevent from using any NULL |
| 842 |
pointer down the road. Right now, in 2_4_1-0_1_1, all |
| 843 |
of these routines, such as sctp_make_init(), |
| 844 |
sctp_make_data_empty(), sctp_make_sack(), etc, uses the |
| 845 |
return value from sctp_make_chunk() assuming that it is |
| 846 |
non-NULL. |
| 847 |
|
| 848 |
Here are functions which are propigating the NULL bug: |
| 849 |
sctp_make_init |
| 850 |
|
| 851 |
Wed Aug 1 13:25:18 CDT 2001 |
| 852 |
DONE: Apply Jon's patch |
| 853 |
DONE: Remove definitions of *Unified* |
| 854 |
DONE: Add comments on deviation from CWR rules. |
| 855 |
DONE: Make myNextTSN an atomic_t. |
| 856 |
DONE: Create sctp_config_packet(vTag, ecn_handler), and (*packet->config)() |
| 857 |
Move last_cwr_tsn adjustment into sctp_handle_congestion(). |
| 858 |
Move CWR generation into the state function? |
| 859 |
|
| 860 |
Fri Aug 17 18:38:29 CDT 2001 |
| 861 |
We're going through sctp_ipv6.0_1_2.patch. We've read everything but |
| 862 |
the tests. |
| 863 |
|
| 864 |
Mon Aug 20 15:37:47 CDT 2001 |
| 865 |
We're about to plunge back into the ipv6 patch, mostly after the SCTP |
| 866 |
Business meeting at 4pm, hopefully after we commit the latest changes |
| 867 |
(the ones to the style guide and to sctp_v4_rcv().) |
| 868 |
|
| 869 |
Thu Aug 23 13:45:53 CDT 2001 |
| 870 |
We cleared all outstanding integration (bug fixes, cmd_seq_t, |
| 871 |
ChunkDesc overallocation...). We also refactored the retval timers to |
| 872 |
be sctp_cmd_seq_t's. Now the trick is to get a test to fail because |
| 873 |
of the sctp_gen_sack() timer issue. |
| 874 |
|
| 875 |
Fri Aug 24 18:51:20 CDT 2001 |
| 876 |
|
| 877 |
Well, we got the test (ft_frame_sack) to fail. Not quite where we |
| 878 |
wanted...but we have a pretty cool test to make up for it. Where we |
| 879 |
*do* fail is by sending one too many SACKs (for the test, Piggy). We |
| 880 |
send a SACK for every odd numbered packet without considering SACK |
| 881 |
timeouts. This is legal, but inelegant and screwy. |
| 882 |
|
| 883 |
On Monday, we're going to check and see how much torture this will be |
| 884 |
to refactor. Then we'll probably do it anyway, code-starved as we |
| 885 |
are. |
| 886 |
|
| 887 |
Mon Aug 27 18:04:01 CDT 2001 |
| 888 |
OK, we are now passing ft_frame_sack, but ft_frame_ecn_basic fails. |
| 889 |
The problem is that we need to do ECN processing BEFORE we generate |
| 890 |
the SACK, but we are now generating the SACK in the side effects |
| 891 |
interpreter, which runs BEFORE the rest of all that stuff. The fix is |
| 892 |
to convert ECN processing to use retval->commands. |
| 893 |
|
| 894 |
Tue Aug 28 17:50:27 CDT 2001 |
| 895 |
Notes on ft_frame_lostpackets (mysterious dup TSNs): |
| 896 |
??? Shouldn't we be sacking 98d? |
| 897 |
AAA No, because c and d are in the same packet |
| 898 |
??? How many times do we start the SACK timer per packet? Should this be |
| 899 |
conditional on end_of_packet? |
| 900 |
AAA I think once per packet, since we're running a small danger of ST |
| 901 |
expiration before all data is processed. Might as well wait. We do now. |
| 902 |
|
| 903 |
NNN In the non-sequential case, our sack doesn't gap ack (that's one), |
| 904 |
also, we sack on the reception of the middle data in that test, and |
| 905 |
then (presumably) stop the sack timer so the "forward time until sack" |
| 906 |
there does nothing. |
| 907 |
|
| 908 |
NNN When the rtx timer expires, we naturally deliver all 3 things in |
| 909 |
queue, and the middle one (a dup TSN) kills the test. |
| 910 |
|
| 911 |
So: a) we should gap ack, and b) dup TSNs shouldn't kill the test. |
| 912 |
|
| 913 |
SACK hunt: |
| 914 |
doTSNupdate looks ok. |
| 915 |
In sctp_gen_sack(), we would (I think) have sent f because it's an |
| 916 |
alternate data packet, but we also send it because it's a gap-- |
| 917 |
(AP(max_tsn_seen) is above the AP(CTSNAckP)). |
| 918 |
AHA! sctp_make_sack() evades the whole topic of gap acking! |
| 919 |
That'll do it... |
| 920 |
|
| 921 |
Wed Aug 29 10:41:31 CDT 2001 |
| 922 |
Upgraded ft_frame_lostpackets to see a gap-ack-unconditional sack. |
| 923 |
|
| 924 |
??? How can we fail the test when we don't gap ack without failing on |
| 925 |
dup TSNs? |
| 926 |
|
| 927 |
Wed Aug 29 15:15:29 CDT 2001 |
| 928 |
We've now created a stub for duplicate reporting--a duplicate TSN is |
| 929 |
no longer an error. |
| 930 |
|
| 931 |
We're going to eliminate our duplicate detection test and see if we |
| 932 |
now could pass ft_frame_lostpackets... Yep! The new test is |
| 933 |
meaningful! |
| 934 |
|
| 935 |
Our new goal is to make the revised ft_frame_lostpackets pass by |
| 936 |
implementing gap acks. But first... |
| 937 |
|
| 938 |
Change to using Jon's new data structure! |
| 939 |
Integrate sctp_tsnmap_t. |
| 940 |
Implement gap acks. |
| 941 |
|
| 942 |
Wed Aug 29 16:34:55 CDT 2001 |
| 943 |
We are going through lksctp-2_4_1-0_1_13.tsnmap.patch2 preparing |
| 944 |
comments and massaging the patch. We need to finish this and apply |
| 945 |
the patch. |
| 946 |
|
| 947 |
Thu Aug 30 18:00:54 CDT 2001 |
| 948 |
We applied Jon's patches and refactored the TSN map code to use them. |
| 949 |
|
| 950 |
Tomorrow, Gap Acks! |
| 951 |
|
| 952 |
Fri Aug 31 14:44:37 CDT 2001 |
| 953 |
DONE: Add a descriptive comment for sctp_check_transmitted(). |
| 954 |
DONE: Remove the comment at sctp_outqueue.c:636. |
| 955 |
|
| 956 |
Fri Aug 31 15:59:34 CDT 2001 |
| 957 |
OK, frametest and unit_test both pass completely. |
| 958 |
Unfortunately, we seem to have fixed ft_frame_biggap. Since we did |
| 959 |
NOT implement fast retran, we were not expecting this. We want this |
| 960 |
test to fail again. |
| 961 |
|
| 962 |
There are two possibilities: |
| 963 |
1) The test is wrong--it does not truely generate the big gap condition. |
| 964 |
2) We introduced a bug which masks the big gap bug. |
| 965 |
3) We really did fix the bug. |
| 966 |
|
| 967 |
It was possibility 3. Oops. We did not implement fast retran, but we |
| 968 |
DID make big gap a command rather than an error. |
| 969 |
|
| 970 |
Tue Sep 4 11:09:20 CDT 2001 |
| 971 |
|
| 972 |
We successfully transferred 10M of data from the user space |
| 973 |
implementation to a live lksctp. Throughput was pretty raw--about |
| 974 |
25k/sec on a 100Mbit link with a PII-400, and 100 byte chunks. The |
| 975 |
fact that we do not advertise a growing rwnd hurts us a lot--we'd be |
| 976 |
about 1.8X faster if we did. That's still not extraordinarily |
| 977 |
fast--we really want to try this with the printk()s removed. |
| 978 |
|
| 979 |
Mon Sep 10 17:49:29 CDT 2001 |
| 980 |
A little integration makes the world go round. (patch.inaddr_any.04) |
| 981 |
|