[riot-commits] [RIOT-OS/RIOT] cbc912: gnrc/netif: fix source address selection for non-m...

Martine Lenders authmillenon at gmail.com
Tue Feb 27 19:02:55 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: cbc9121ad4a1015b0f89851f165a79d622e60bd6
      https://github.com/RIOT-OS/RIOT/commit/cbc9121ad4a1015b0f89851f165a79d622e60bd6
  Author: Daniel Krebs <github at daniel-krebs.net>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M sys/net/gnrc/netif/gnrc_netif.c

  Log Message:
  -----------
  gnrc/netif: fix source address selection for non-matching prefixes

According to RFC 6724 ch. 5 rule 8, the source address candidate with
the longest matching prefix has to be selected. The current
implementation discards source addresses that have no matching prefix
(`match = 0`) which is perfectly fine for any global address.


  Commit: 8c632b1bf7b6bc7afa4c713680cbe88352dc666b
      https://github.com/RIOT-OS/RIOT/commit/8c632b1bf7b6bc7afa4c713680cbe88352dc666b
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-02-27 (Tue, 27 Feb 2018)

  Changed paths:
    M sys/net/gnrc/netif/gnrc_netif.c

  Log Message:
  -----------
  Merge pull request #8536 from daniel-k/fix/gnrc_src_addr_selection

gnrc/netif: fix source address selection for non-matching prefixes


Compare: https://github.com/RIOT-OS/RIOT/compare/c227ec87901b...8c632b1bf7b6


More information about the commits mailing list