1. 17 Feb, 2011 8 commits
  2. 15 Feb, 2011 20 commits
  3. 14 Feb, 2011 7 commits
    • David S. Miller's avatar
      ipv4: Cache learned redirect information in inetpeer. · f39925db
      David S. Miller authored
      
      
      Note that we do not generate the redirect netevent any longer,
      because we don't create a new cached route.
      
      Instead, once the new neighbour is bound to the cached route,
      we emit a neigh update event instead.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f39925db
    • David S. Miller's avatar
      ipv4: Cache learned PMTU information in inetpeer. · 2c8cec5c
      David S. Miller authored
      
      
      The general idea is that if we learn new PMTU information, we
      bump the peer genid.
      
      This triggers the dst_ops->check() code to validate and if
      necessary propagate the new PMTU value into the metrics.
      
      Learned PMTU information self-expires.
      
      This means that it is not necessary to kill a cached route
      entry just because the PMTU information is too old.
      
      As a consequence:
      
      1) When the path appears unreachable (dst_ops->link_failure
         or dst_ops->negative_advice) we unwind the PMTU state if
         it is out of date, instead of killing the cached route.
      
         A redirected route will still be invalidated in these
         situations.
      
      2) rt_check_expire(), rt_worker_func(), et al. are no longer
         necessary at all.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2c8cec5c
    • Baruch Siach's avatar
      phy/micrel: add ability to support 50MHz RMII clock on KZS8051RNL · d606ef3f
      Baruch Siach authored
      
      
      Platform code can now set the MICREL_PHY_50MHZ_CLK bit of dev_flags in a fixup
      routine (registered with phy_register_fixup_for_uid()), to make the KZS8051RNL
      PHY work with 50MHz RMII reference clock.
      
      Cc: David J. Choi <david.choi@micrel.com>
      Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d606ef3f
    • Bernard Pidoux's avatar
      ROSE: AX25: finding routes simplification · 68aa3fd5
      Bernard Pidoux authored
      
      
      With previous patch, rose_get_neigh() routine
      investigates the full list of neighbor nodes
      until it finds or not an already connected node whether
      it is called locally or through a level 3 transit frame.
      If no routes are opened through an adjacent connected node
      then a classical connect request is attempted.
      
      Then there is no more reason for an extra loop such
      as the one removed by this patch.
      Signed-off-by: default avatarBernard Pidoux <f6bvp@free.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      68aa3fd5
    • Bernard Pidoux's avatar
      ROSE: rose AX25 packet routing improvement · c5d8b24a
      Bernard Pidoux authored
      
      
      FPAC AX25 packet application is using Linux kernel ROSE
      routing skills in order to connect or send packets to remote stations
      knowing their ROSE address via a network of interconnected nodes.
      
      Each FPAC node has a ROSE routing table that Linux ROSE module is
      looking at each time a ROSE frame is relayed by the node or when
      a connect request to a neighbor node is received.
      
      A previous patch improved the system time response by looking at
      already established routes each time the system was looking for a
      route to relay a frame. If a neighbor node routing the destination
      address was already connected, then the frame would be sent
      through him. If not, a connection request would be issued.
      
      The present patch extends the same routing capability to a connect
      request asked by a user locally connected into an FPAC node.
      Without this patch, a connect request was not well handled unless it
      was directed to an immediate connected neighbor of the local node.
      
      Implemented at a number of ROSE FPAC node stations, the present patch
      improved dramatically FPAC ROSE routing time response and efficiency.
      Signed-off-by: default avatarBernard Pidoux <f6bvp@free.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c5d8b24a
    • Eric Dumazet's avatar
      ipv4: fix rcu lock imbalance in fib_select_default() · 31d40937
      Eric Dumazet authored
      Commit 0c838ff1
      
       (ipv4: Consolidate all default route selection
      implementations.) forgot to remove one rcu_read_unlock() from
      fib_select_default().
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      31d40937
    • Ben Hutchings's avatar
      sch_mqprio: Always set num_tc to 0 in mqprio_destroy() · ac7100ba
      Ben Hutchings authored
      
      
      All the cleanup code in mqprio_destroy() is currently conditional on
      priv->qdiscs being non-null, but that condition should only apply to
      the per-queue qdisc cleanup.  We should always set the number of
      traffic classes back to 0 here.
      Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
      ac7100ba
  4. 13 Feb, 2011 5 commits