[riot-commits] [RIOT-OS/RIOT] 160ccb: gnrc_ipv6: don't recurse into receive for encapsul...

Koen Zandberg koen at bergzand.net
Thu Nov 8 12:34:42 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 160ccbcf7e023f5c45ed683d25610f1ae490f0e7
      https://github.com/RIOT-OS/RIOT/commit/160ccbcf7e023f5c45ed683d25610f1ae490f0e7
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-11-08 (Thu, 08 Nov 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c

  Log Message:
  -----------
  gnrc_ipv6: don't recurse into receive for encapsulated IPv6

`_decapsulate()` is called by callees of `_receive()` so the call to
the latter function within the first creates a recursion we don't want.
Using `gnrc_netapi` instead removes that and provides the added benefit
that other subscribers to IPv6 are also informed.


  Commit: d54ac38f8403e7fc8f409225652e0174d059d129
      https://github.com/RIOT-OS/RIOT/commit/d54ac38f8403e7fc8f409225652e0174d059d129
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2018-11-08 (Thu, 08 Nov 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c

  Log Message:
  -----------
  gnrc_ipv6: don't dispatch encapsulated IPv6 headers in central function

Otherwise, an encapsulated IPv6 packet is handled twice. Once in the
central function, once in the specialized decapsulation.


  Commit: 60a6e66f77b92c9e1da48c8fe12315fa7b663f7b
      https://github.com/RIOT-OS/RIOT/commit/60a6e66f77b92c9e1da48c8fe12315fa7b663f7b
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2018-11-08 (Thu, 08 Nov 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c

  Log Message:
  -----------
  Merge pull request #10246 from miri64/gnrc_ipv6/fix/encaps-ipv6-recursion

gnrc_ipv6: don't recurse into receive for encapsulated IPv6


Compare: https://github.com/RIOT-OS/RIOT/compare/66e0d4803773...60a6e66f77b9
      **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