[fabbione/kronosnet] ce30eb: [host] fix possible race condition in accessing ho...

GitHub noreply at github.com
Fri Jun 24 15:05:02 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/fabbione/kronosnet
  Commit: ce30ebc33db002a0c713f0eb0ac4d84788c5c819
      https://github.com/fabbione/kronosnet/commit/ce30ebc33db002a0c713f0eb0ac4d84788c5c819
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M libknet/host.c
    M libknet/internals.h
    M libknet/threads_dsthandler.c
    M libknet/threads_send_recv.c

  Log Message:
  -----------
  [host] fix possible race condition in accessing host data

bonus: remove a lock used on all threads all the time
cons: traffic can pause more often towards a host if another host links
      are not stable

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




More information about the Commits mailing list