[riot-commits] [RIOT-OS/RIOT] d7c377: sys/net/gnrc/netif: make gnrc_netif_create() blocking

benpicco noreply at github.com
Mon Jun 21 15:48:42 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d7c377f40053c750c65ee3d40f91677b09f3d5e6
      https://github.com/RIOT-OS/RIOT/commit/d7c377f40053c750c65ee3d40f91677b09f3d5e6
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

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

  Log Message:
  -----------
  sys/net/gnrc/netif: make gnrc_netif_create() blocking

Make gnrc_netif_create() block until the interface is created and
registered.
This avoids a race condition where after calling gnrc_netif_init_devs()
not all interfaces are available yet when iterating through the list
of interfaces with gnrc_netif_iter().


  Commit: 1a6015f18ccddc7cbdfc10114b0a183815c8b65d
      https://github.com/RIOT-OS/RIOT/commit/1a6015f18ccddc7cbdfc10114b0a183815c8b65d
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M tests/gnrc_sixlowpan_frag_minfwd/Makefile.ci

  Log Message:
  -----------
  tests/gnrc_sixlowpan_frag_minfwd: add nucleo-f302r8 to Makefile.ci


  Commit: cf688774e5a545ded0beb0f3c011b0451161add4
      https://github.com/RIOT-OS/RIOT/commit/cf688774e5a545ded0beb0f3c011b0451161add4
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M sys/net/gnrc/netif/gnrc_netif.c
    M tests/gnrc_sixlowpan_frag_minfwd/Makefile.ci

  Log Message:
  -----------
  Merge pull request #16527 from benpicco/gnrc_netif_create-race

sys/net/gnrc/netif: make gnrc_netif_create() blocking to avoid race condition


Compare: https://github.com/RIOT-OS/RIOT/compare/761355234418...cf688774e5a5


More information about the commits mailing list