The documentation in xfer.h and xfer.c does not say that the metadata parameter is optional in calls such as xfer_deliver_iob_meta() and the deliver_iob() method. However, some code in net/ is prepared to accept a NULL pointer, and xfer_deliver_as_iob() passes a NULL pointer directly to the deliver_iob() method. Fix this mess of conflicting assumptions by making everything assume that the metadata parameter is mandatory, and fixing xfer_deliver_as_iob() to pass in a dummy metadata structure (as is already done in xfer_deliver_iob()).tags/v0.9.7
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
30 |
|
38 |
|
31 |
|
39 |
|
32 |
|
40 |
|
|
|
||
159 |
|
167 |
|
160 |
|
168 |
|
161 |
|
169 |
|
162 |
|
|
|
163 |
|
170 |
|
164 |
|
171 |
|
165 |
|
172 |
|
|
|
||
366 |
|
373 |
|
367 |
|
374 |
|
368 |
|
375 |
|
369 |
|
|
|
|
376 |
|
|
370 |
|
377 |
|
371 |
|
378 |
|
372 |
|
379 |
|
|
|
||
1033 |
|
1033 |
|
1034 |
|
1034 |
|
1035 |
|
1035 |
|
1036 |
|
|
|
|
1036 |
|
|
1037 |
|
1037 |
|
1038 |
|
1038 |
|
1039 |
|
1039 |
|
|
|
||
380 |
|
380 |
|
381 |
|
381 |
|
382 |
|
382 |
|
383 |
|
|
|
|
383 |
|
|
384 |
|
384 |
|
385 |
|
385 |
|
386 |
|
386 |
|
|
|
||
321 |
|
321 |
|
322 |
|
322 |
|
323 |
|
323 |
|
324 |
|
|
|
|
324 |
|
|
325 |
|
325 |
|
326 |
|
326 |
|
327 |
|
327 |
|
|
|
||
390 |
|
390 |
|
391 |
|
391 |
|
392 |
|
392 |
|
393 |
|
|
|
|
393 |
|
|
394 |
|
394 |
|
395 |
|
395 |
|
396 |
|
396 |
|
|
|
||
398 |
|
398 |
|
399 |
|
399 |
|
400 |
|
400 |
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
401 |
|
412 |
|
402 |
|
413 |
|
|
|
|
403 |
|
|
|
404 |
|
|
414 |
|
405 |
|
415 |
|
406 |
|
416 |
|
407 |
|
|
|
||
1052 |
|
1052 |
|
1053 |
|
1053 |
|
1054 |
|
1054 |
|
1055 |
|
|
|
1056 |
|
|
|
1057 |
|
|
|
1058 |
|
|
|
1059 |
|
|
|
1060 |
|
|
|
1061 |
|
1055 |
|
1062 |
|
1056 |
|
1063 |
|
1057 |
|
|
|
||
1106 |
|
1100 |
|
1107 |
|
1101 |
|
1108 |
|
1102 |
|
1109 |
|
|
|
1110 |
|
1103 |
|
1111 |
|
1104 |
|
1112 |
|
1105 |
|
|
|
||
839 |
|
839 |
|
840 |
|
840 |
|
841 |
|
841 |
|
842 |
|
|
|
|
842 |
|
|
843 |
|
843 |
|
844 |
|
844 |
|
845 |
|
845 |
|
|
|
||
856 |
|
856 |
|
857 |
|
857 |
|
858 |
|
858 |
|
859 |
|
|
|
860 |
|
|
|
861 |
|
|
|
862 |
|
|
|
863 |
|
|
|
864 |
|
859 |
|
865 |
|
860 |
|
866 |
|
861 |
|
|
|
||
907 |
|
902 |
|
908 |
|
903 |
|
909 |
|
904 |
|
910 |
|
|
|
|
905 |
|
|
911 |
|
906 |
|
912 |
|
907 |
|
913 |
|
908 |
|
|
|
||
951 |
|
946 |
|
952 |
|
947 |
|
953 |
|
948 |
|
954 |
|
|
|
|
949 |
|
|
955 |
|
950 |
|
956 |
|
951 |
|
957 |
|
952 |
|