[fabbione/kronosnet] 365dc5: [PMTUd] Drop concept of link_mtu and fix data mtu ...

GitHub noreply at github.com
Sat Jun 11 07:50:56 CEST 2016


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

  Changed paths:
    M kronosnetd/vty_cli_cmds.c
    M libknet/handle.c
    M libknet/internals.h
    M libknet/libknet.h
    M libknet/ping_test.c
    M libknet/threads_pmtud.c

  Log Message:
  -----------
  [PMTUd] Drop concept of link_mtu and fix data mtu exported values (pass 1)

Cleanup a poor attempt to export all MTU data to the users.

The original idea was to provide information about real link onwire mtu
and max user data mtu (that could be sent on wire without fragmentation)
that adjusted the value for IP protocol, knet header and crypto (if configured).

Effectively there is no use for the real link onwire mtu and it only involves
extra complexity to export lots of extra data to the end user that would have
to redo the calculations internally to gather data mtu.

Also fix the status.mtu value to match knet view of every link.

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




More information about the Commits mailing list