[riot-commits] [RIOT-OS/RIOT] ef1132: gnrc_icmpv6_error: check IPv6 header before starti...

Koen Zandberg koen at bergzand.net
Sat Nov 17 16:06:05 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ef1132384ac684df42a6900e3327f1d62f6f400c
      https://github.com/RIOT-OS/RIOT/commit/ef1132384ac684df42a6900e3327f1d62f6f400c
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2018-11-17 (Sat, 17 Nov 2018)

  Changed paths:
    M sys/include/net/gnrc/icmpv6/error.h
    M sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c

  Log Message:
  -----------
  gnrc_icmpv6_error: check IPv6 header before starting to build

Check for:

 - if it exists (critical error condition -- non-IPv6 headers should
   not trigger these functions) => assert
 - if it has a multicast source (that shouldn't really happen but
   people might try weird stuff ;-)
 - if it has an unspecified source (can't determine receiver of error
   message => don't send it, don't build it)


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

  Changed paths:
    M sys/include/net/gnrc/icmpv6/error.h

  Log Message:
  -----------
  gnrc_icmpv6_error: fix doc alignment


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

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

  Log Message:
  -----------
  gnrc_ipv6: drop packets with unspecified destination

It just doesn't makes sense to handle them any further


  Commit: c755071483d72a9404b0d8f8ef2444af09c0f36f
      https://github.com/RIOT-OS/RIOT/commit/c755071483d72a9404b0d8f8ef2444af09c0f36f
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2018-11-17 (Sat, 17 Nov 2018)

  Changed paths:
    M sys/include/net/gnrc/icmpv6/error.h
    M sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c

  Log Message:
  -----------
  Merge pull request #10421 from miri64/gnrc_icmpv6_error/bug/dont-send-to-unspec

gnrc_icmpv6_error / gnrc_ipv6: fixes for unspecified address


Compare: https://github.com/RIOT-OS/RIOT/compare/447e1b8eb817...c755071483d7
      **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