[fabbione/kronosnet] 0d3ccb: [send/recv] Fix handling of HOSTINFO packets

GitHub noreply at github.com
Mon Nov 30 09:23:49 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/fabbione/kronosnet
  Commit: 0d3ccb336b5b6445d6df8ba7b3afb628773a99a7
      https://github.com/fabbione/kronosnet/commit/0d3ccb336b5b6445d6df8ba7b3afb628773a99a7
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2015-11-30 (Mon, 30 Nov 2015)

  Changed paths:
    M TODO
    M libknet/threads_send_recv.c

  Log Message:
  -----------
  [send/recv] Fix handling of HOSTINFO packets

HOSTINFO packets are nothing more than special cased DATA packets.

The contents of HOSTINFO is stored inside DATA of DATA packets and
up to the point where we need to use the HOSTINFO data, we need
to treat the packets as DATA for defragmentation and deduplication.

This also fixes a problem when using round-robin and active switching
policy where the HOSTINFO exchange would loop forever in a storm
because duplicate pckts were being handled at once.

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>




More information about the Commits mailing list