1. 14 3月, 2015 4 次提交
  2. 13 3月, 2015 2 次提交
    • S
      vxlan: Don't set s_addr in vxlan_create_sock · 719a11cd
      Simon Horman 提交于
      In the case of AF_INET s_addr was set to INADDR_ANY (0) which which both
      symmetric with the AF_INET6 case, where s_addr is not set, and unnecessary
      as udp_conf is zeroed out earlier in the same function.
      
      I suspect this change does not have any run-time effect due to compiler
      optimisations. But it does make the code a little easier on the/my eyes.
      
      Cc: Tom Herbert <therbert@google.com>
      Signed-off-by: NSimon Horman <simon.horman@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      719a11cd
    • J
      net/macb: Only adjust tx_clk on link change · 2c29b235
      Jaeden Amero 提交于
      The PHY state machine (in drivers/net/phy/phy.c) will unconditionally
      call phydev->adjust_link (macb_handle_link_change) when polling in the
      PHY_CHANGELINK state. As currently written, macb always ends up
      requesting a new tx_clk frequency in macb_handle_link_change. It is a
      waste of time to request a new tx_clk frequency if the link state hasn't
      changed, as the tx_clk will already be configured properly.
      
      Let's only request a new tx_clk clock frequency when necessary.
      Signed-off-by: NJaeden Amero <jaeden.amero@ni.com>
      Cc: Josh Cartwright <joshc@ni.com>
      Cc: Soren Brinkmann <soren.brinkmann@xilinx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c29b235
  3. 12 3月, 2015 4 次提交
  4. 11 3月, 2015 2 次提交
  5. 10 3月, 2015 7 次提交
  6. 09 3月, 2015 13 次提交
  7. 08 3月, 2015 8 次提交