)]}' { "commit": "78aa5cd35958e7db8dbe0fa1fa8d41223e93dbab", "tree": "7bf54cf926804b849de9c778e9ec198f3f90e94c", "parents": [ "7af57c6e4888001890b80f6dabf241da10fbc63c" ], "author": { "name": "Victor Boivie", "email": "boivie@webrtc.org", "time": "Tue Apr 13 21:42:39 2021" }, "committer": { "name": "Commit Bot", "email": "commit-bot@chromium.org", "time": "Fri Apr 16 14:42:44 2021" }, "message": "dcsctp: Ensure packet size doesn\u0027t exceed MTU\n\nDue to a previous refactoring, the SCTP packet header is only added when\nthe first chunk is written. This wasn\u0027t reflected in the\n`bytes_remaining`, which made it add more than could fit within the MTU.\n\nAdditionally, the maximum packet size must be even divisible by four as\npadding will be added to chunks that are not even divisble by four (up\nto three bytes of padding). So compensate for that.\n\nBug: webrtc:12614\nChange-Id: I6b57dfbf88d1fcfcbf443038915dd180e796191a\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/215145\nReviewed-by: Tommi \u003ctommi@webrtc.org\u003e\nReviewed-by: Florent Castelli \u003corphis@webrtc.org\u003e\nCommit-Queue: Victor Boivie \u003cboivie@webrtc.org\u003e\nCr-Commit-Position: refs/heads/master@{#33760}\n", "tree_diff": [ { "type": "modify", "old_id": "ee161d2c8ad6d2c6f27d1f88f4529c53cc6b13d2", "old_mode": 33188, "old_path": "net/dcsctp/common/math.h", "new_id": "12f690ed57b746192e368047cc96730973db5214", "new_mode": 33188, "new_path": "net/dcsctp/common/math.h" }, { "type": "modify", "old_id": "902aefa9062603114d212e0cbbdc7346aa15068c", "old_mode": 33188, "old_path": "net/dcsctp/common/math_test.cc", "new_id": "f95dfbdb55ee85a64055dd6d6d4218f41743b774", "new_mode": 33188, "new_path": "net/dcsctp/common/math_test.cc" }, { "type": "modify", "old_id": "1e12367263405febcb94565c1e464525cf17857e", "old_mode": 33188, "old_path": "net/dcsctp/packet/sctp_packet.cc", "new_id": "da06ccf8674e7cb5ef0f934d439b106769ae0ed2", "new_mode": 33188, "new_path": "net/dcsctp/packet/sctp_packet.cc" }, { "type": "modify", "old_id": "927b8dbd41a9e72ea792464f598cb30e44821164", "old_mode": 33188, "old_path": "net/dcsctp/packet/sctp_packet.h", "new_id": "2600caf7a952129c9198ac281a65a1d242996a8a", "new_mode": 33188, "new_path": "net/dcsctp/packet/sctp_packet.h" }, { "type": "modify", "old_id": "ece1b7bbd73a7863b77078f6ae34044fbf3d746b", "old_mode": 33188, "old_path": "net/dcsctp/packet/sctp_packet_test.cc", "new_id": "7438315eecf38bc266cdc8d2dfc6844becec2ed9", "new_mode": 33188, "new_path": "net/dcsctp/packet/sctp_packet_test.cc" } ] }