1. 11 Jun, 2012 2 commits
    • David S. Miller's avatar
      ipv4: Kill ip_rt_frag_needed(). · 46517008
      David S. Miller authored
      There is zero point to this function.
      It's only real substance is to perform an extremely outdated BSD4.2
      ICMP check, which we can safely remove.  If you really have a MTU
      limited link being routed by a BSD4.2 derived system, here's a nickel
      go buy yourself a real router.
      The other actions of ip_rt_frag_needed(), checking and conditionally
      updating the peer, are done by the per-protocol handlers of the ICMP
      TCP, UDP, et al. have a handler which will receive this event and
      transmit it back into the associated route via dst_ops->update_pmtu().
      This simplification is important, because it eliminates the one place
      where we do not have a proper route context in which to make an
      inetpeer lookup.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    • David S. Miller's avatar
      inet: Hide route peer accesses behind helpers. · 97bab73f
      David S. Miller authored
      We encode the pointer(s) into an unsigned long with one state bit.
      The state bit is used so we can store the inetpeer tree root to use
      when resolving the peer later.
      Later the peer roots will be per-FIB table, and this change works to
      facilitate that.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  2. 09 Jun, 2012 8 commits
  3. 08 Jun, 2012 3 commits
  4. 07 Jun, 2012 12 commits
  5. 06 Jun, 2012 15 commits