[riot-commits] [RIOT-OS/RIOT] 75d53b: tests/pkg_openwsn_sock_udp: add test for sock_udp_...

Martine Lenders noreply at github.com
Wed Feb 10 08:29:06 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 75d53b0c465b1805e0406b0d09160c27814e1306
      https://github.com/RIOT-OS/RIOT/commit/75d53b0c465b1805e0406b0d09160c27814e1306
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M tests/pkg_openwsn_sock_udp/main.c

  Log Message:
  -----------
  tests/pkg_openwsn_sock_udp: add test for sock_udp_close

Basic sock_udp_close() functionality is tested durin teardown,
but teardown does not test that there are no messages lingering
for the closed sock.


  Commit: ca2e59d6a2707149b9dda519bf7d348310a3e385
      https://github.com/RIOT-OS/RIOT/commit/ca2e59d6a2707149b9dda519bf7d348310a3e385
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M pkg/openwsn/sock/openwsn_sock_udp.c

  Log Message:
  -----------
  pkg/openwsn/sock: add mutex around linked list access

Fix possible race conditions when sock is closed while iterating
through the linked list.


  Commit: 3d6d8b1872e2fd72c3c2fe2e58b530cbc4540bc7
      https://github.com/RIOT-OS/RIOT/commit/3d6d8b1872e2fd72c3c2fe2e58b530cbc4540bc7
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M pkg/openwsn/sock/openwsn_sock_udp.c

  Log Message:
  -----------
  pkg/openwsn/sock: drop messages in mbox on close


  Commit: 4e9980c804d193cd938412a68a1207f746a38e70
      https://github.com/RIOT-OS/RIOT/commit/4e9980c804d193cd938412a68a1207f746a38e70
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M pkg/openwsn/sock/openwsn_sock_udp.c
    M tests/pkg_openwsn_sock_udp/main.c

  Log Message:
  -----------
  Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix

pkg/openwsn/sock: fix sock_udp_close handling


Compare: https://github.com/RIOT-OS/RIOT/compare/92bc4c1b0b17...4e9980c804d1


More information about the commits mailing list