[riot-commits] [RIOT-OS/RIOT] f638d6: rbuf: drop overlapped fragment only if offset or s...

Oleg Hahm oleg at hobbykeller.org
Tue Feb 9 10:26:40 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: f638d68ebb76b1e5c49c1dd05f0fdf59955e3b38
      https://github.com/RIOT-OS/RIOT/commit/f638d68ebb76b1e5c49c1dd05f0fdf59955e3b38
  Author: Yonezawa-T2 <Yonezawa-T2 at mail.dnp.co.jp>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

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

  Log Message:
  -----------
  rbuf: drop overlapped fragment only if offset or size differs from previous one.

https://tools.ietf.org/html/rfc4944#section-5.3 says:

> If a link fragment that overlaps another fragment is received, as
> identified above, and differs in either the size or datagram_offset
> of the overlapped fragment, the fragment(s) already accumulated in
> the reassembly buffer SHALL be discarded.  A fresh reassembly may be
> commenced with the most recently received link fragment.


  Commit: bafda20664100c514875e4cdb9a12aa2564c1929
      https://github.com/RIOT-OS/RIOT/commit/bafda20664100c514875e4cdb9a12aa2564c1929
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

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

  Log Message:
  -----------
  Merge pull request #4772 from Yonezawa-T2/rbuf_overlap_improvement

rbuf: drop overlapped fragment only if offset or size differs from previous one


Compare: https://github.com/RIOT-OS/RIOT/compare/8cf5ffdabc9b...bafda2066410


More information about the commits mailing list