[riot-commits] [RIOT-OS/RIOT] 31fa34: rbuf: does not remove oldest entry if we have entr...

Martine Lenders authmillenon at gmail.com
Fri Mar 4 05:40:03 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 31fa3404ca14584ab3a4ca8842fe416adbb50373
      https://github.com/RIOT-OS/RIOT/commit/31fa3404ca14584ab3a4ca8842fe416adbb50373
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c

  Log Message:
  -----------
  rbuf: does not remove oldest entry if we have entry for current fragment

If all rbuf slots are in use, `_rbuf_gc` removes the oldest entry even if the
entry for the current fragment exists. This effectively decreases usable slots
by one. This patch makes `_rbuf_gc` removes the oldest entry only if there is
no entry for the current fragment.


  Commit: 4504e40fe0bef083078c9d0f15d5836bf8cc9792
      https://github.com/RIOT-OS/RIOT/commit/4504e40fe0bef083078c9d0f15d5836bf8cc9792
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2016-03-04 (Fri, 04 Mar 2016)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c

  Log Message:
  -----------
  Merge pull request #4771 from Yonezawa-T2/rbuf_gc_improvement

rbuf: does not remove oldest entry if we have entry for current fragment


Compare: https://github.com/RIOT-OS/RIOT/compare/f7ddeb243e17...4504e40fe0be


More information about the commits mailing list