1. 11 Jun, 2012 4 commits
    • David S. Miller's avatar
      8e773277
    • David S. Miller's avatar
      inet: Add family scope inetpeer flushes. · b48c80ec
      David S. Miller authored
      This implementation can deal with having many inetpeer roots, which is
      a necessary prerequisite for per-FIB table rooted peer tables.
      
      Each family (AF_INET, AF_INET6) has a sequence number which we bump
      when we get a family invalidation request.
      
      Each peer lookup cheaply checks whether the flush sequence of the
      root we are using is out of date, and if so flushes it and updates
      the sequence number.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b48c80ec
    • 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
      event.
      
      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>
      46517008
    • 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>
      97bab73f
  2. 10 Jun, 2012 3 commits
  3. 09 Jun, 2012 5 commits
  4. 08 Jun, 2012 3 commits
  5. 07 Jun, 2012 12 commits
  6. 06 Jun, 2012 13 commits