[riot-commits] [RIOT-OS/RIOT] f07308: gnrc: Extend gnrc_ipv6_get_header checks, use in s...

Martine Lenders authmillenon at gmail.com
Fri Sep 28 20:20:34 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: f07308b07d58b549bf86986d0d3aaef746ac023f
      https://github.com/RIOT-OS/RIOT/commit/f07308b07d58b549bf86986d0d3aaef746ac023f
  Author: chrysn <chrysn at fsfe.org>
  Date:   2018-09-28 (Fri, 28 Sep 2018)

  Changed paths:
    M sys/include/net/gnrc/ipv6.h
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c
    M sys/net/gnrc/sock/gnrc_sock.c

  Log Message:
  -----------
  gnrc: Extend gnrc_ipv6_get_header checks, use in sock recv

gnrc_sock_recv used to duplicate functionality of gnrc_ipv6_get_header,
but additionally checked whether the IPv6 snip is large enough.

All checks are now included in gnrc_ipv6_get_header, but as most of them
stem from programming / user errors, they were moved into asserts; this
constitutes an API change.


  Commit: a6cf9db88003d4f574a700ddbaab650ef9139398
      https://github.com/RIOT-OS/RIOT/commit/a6cf9db88003d4f574a700ddbaab650ef9139398
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-09-28 (Fri, 28 Sep 2018)

  Changed paths:
    M sys/include/net/gnrc/ipv6.h
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c
    M sys/net/gnrc/sock/gnrc_sock.c

  Log Message:
  -----------
  Merge pull request #10071 from chrysn-pull-requests/deduplicate-ipv6-address-extraction

gnrc: Use existing utility function to extract IPv6 header


Compare: https://github.com/RIOT-OS/RIOT/compare/b4664a5bd307...a6cf9db88003
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list