[riot-notifications] [RIOT] ng_pktqueue: remove priority queue dependency (#3234)

Martine Lenders notifications at github.com
Mon Jun 22 18:10:47 CEST 2015


As discussed in https://github.com/RIOT-OS/RIOT/pull/3228: I use the `priority_queue` implementation through `ng_pktqueue` wrong in the IPv6 implementation. @cgundogan was also pointing out that in its current implementation IPv6 doesn't really need a priority queue anymore, just a queue.

This lead me to try out if this very simple reimplementation of the packet queue without any priorities would fix our problems in the stack. Sadly it does not, but it simplifies the implementation of the packet queue a lot, so I decided to provide it anyways.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3234

-- Commit Summary --

  * ng_pktqueue: take out priorities
  * tests: adapt unittests for new pktqueue
  * ng_ipv6_nc: use new pktqueue
  * ng_ndp: use new pktqueue

-- File Changes --

    M sys/include/net/ng_ipv6/nc.h (2)
    M sys/include/net/ng_pktqueue.h (101)
    M sys/net/network_layer/ng_ipv6/nc/ng_ipv6_nc.c (6)
    M sys/net/network_layer/ng_ndp/ng_ndp.c (27)
    M tests/unittests/tests-pktqueue/tests-pktqueue.c (217)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3234.patch
https://github.com/RIOT-OS/RIOT/pull/3234.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3234
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150622/924494d4/attachment.html>


More information about the notifications mailing list