[riot-commits] [RIOT-OS/RIOT] 835a2d: Add inet_csum_slice() to fix checksum for a sliced...

Martine Lenders authmillenon at gmail.com
Thu Dec 3 13:16:14 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 835a2d8a27f43c01521101458fde8c2ea3d88b3a
      https://github.com/RIOT-OS/RIOT/commit/835a2d8a27f43c01521101458fde8c2ea3d88b3a
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M sys/include/net/inet_csum.h
    M sys/net/crosslayer/inet_csum/inet_csum.c

  Log Message:
  -----------
  Add inet_csum_slice() to fix checksum for a sliced layer 4 payload

Padding for an odd number of bytes was not calculated properly.


  Commit: 0cd5bf9b8f0b13ec7e454f58ca4bcffe4592dd3f
      https://github.com/RIOT-OS/RIOT/commit/0cd5bf9b8f0b13ec7e454f58ca4bcffe4592dd3f
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M tests/unittests/tests-inet_csum/tests-inet_csum.c

  Log Message:
  -----------
  Add unit tests for inet_csum_slice()


  Commit: 1abffc84e1f1b7accaa7c58361201717dc5b2629
      https://github.com/RIOT-OS/RIOT/commit/1abffc84e1f1b7accaa7c58361201717dc5b2629
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c
    M sys/net/gnrc/transport_layer/udp/gnrc_udp.c

  Log Message:
  -----------
  Update layer 4 files to fix checksum with inet_csum_slice().


  Commit: 281b0ba46edca75555a08f70d31b5f0b51e75816
      https://github.com/RIOT-OS/RIOT/commit/281b0ba46edca75555a08f70d31b5f0b51e75816
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M sys/include/net/inet_csum.h
    M sys/net/crosslayer/inet_csum/inet_csum.c
    M sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c
    M sys/net/gnrc/transport_layer/udp/gnrc_udp.c
    M tests/unittests/tests-inet_csum/tests-inet_csum.c

  Log Message:
  -----------
  Merge pull request #4343 from kb2ma/misc/fix-checksum

Fix UDP/ICMPv6 checksum for a sliced/accumulated payload.


Compare: https://github.com/RIOT-OS/RIOT/compare/ef8dc7733a99...281b0ba46edc


More information about the commits mailing list