[riot-commits] [RIOT-OS/RIOT] 95d3aa: actually use msg_queue in ip.c

Christian Mehlis mehlis at inf.fu-berlin.de
Mon Feb 24 15:10:19 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 95d3aae48c62d7a6dac4a7fdff888aaf63ce8211
      https://github.com/RIOT-OS/RIOT/commit/95d3aae48c62d7a6dac4a7fdff888aaf63ce8211
  Author: Benjamin Valentin <benpicco at zedat.fu-berlin.de>
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
    M sys/net/network_layer/sixlowpan/ip.c

  Log Message:
  -----------
  actually use msg_queue in ip.c

msg_queue is defined but never used, hook it up so IP packets get queued instead of dropped when there is more than one.
change the name to ip_msg_queue to avoid naming conflicts.


  Commit: 4068133f3dec940a4cd64b5dc64d7dd902097f3d
      https://github.com/RIOT-OS/RIOT/commit/4068133f3dec940a4cd64b5dc64d7dd902097f3d
  Author: Benjamin Valentin <benpicco at zedat.fu-berlin.de>
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
    M sys/net/transport_layer/destiny/udp.c
    M sys/net/transport_layer/destiny/udp.h

  Log Message:
  -----------
  also add msg_queue for UDP

All other layers in the network stack use a msg_queue to not drop messages, which in this context represent packages.
This finally fixes the random crashes when UDP network traffic is present. Turns out RIOT is not handling lost messages well.


  Commit: 8556403f8f244fc570029486bf51d831f6165a0d
      https://github.com/RIOT-OS/RIOT/commit/8556403f8f244fc570029486bf51d831f6165a0d
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2014-02-24 (Mon, 24 Feb 2014)

  Changed paths:
    M sys/net/network_layer/sixlowpan/ip.c
    M sys/net/transport_layer/destiny/udp.c
    M sys/net/transport_layer/destiny/udp.h

  Log Message:
  -----------
  Merge pull request #680 from benpicco/fix_crash

set up message queues for the IP and UDP thread


Compare: https://github.com/RIOT-OS/RIOT/compare/f4376930f2a9...8556403f8f24


More information about the commits mailing list