1. 08 2月, 2013 17 次提交
  2. 07 2月, 2013 18 次提交
  3. 06 2月, 2013 5 次提交
    • D
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 4d9e01da
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      This series contains updates to e1000e and ixgbe.  Majority of the patches
      are against e1000e, where Bruce makes several cosmetic #define moves into
      header files.  In addition, Bruce does a cleanup of braces to resolve
      checkpatch warnings (when using the strict option).
      
      Ixgbe patches contain several fixes as well as updating the copyright.  The
      fixes from Josh Hay, resolved a possible NULL pointer dereference and
      resolved Smatch warnings by fixing return values and memcpy parameters.
      Alex provides 2 fixes, the first is to replace rmb() with
      read_barrier_depends() in the Tx cleanup.  The second fixes an MTU
      warning when using SR-IOV which corrects the fact that we were using 1522
      to test for the max frame size in ixgbe_change_mtu and 1518 in
      ixgbe_set_vf_lpe.  The difference was the addition of VLAN_HLEN, which we
      only need to add in the case of computing a buffer size, but not a filter
      size.  Lastly, a patch from Emil which is based on a community patch from
      Aurélien Guillaume which adds functions needed for reading SFF-8472
      diagnostic data from SFP modules.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4d9e01da
    • S
      tcp: remove Appropriate Byte Count support · ca2eb567
      Stephen Hemminger 提交于
      TCP Appropriate Byte Count was added by me, but later disabled.
      There is no point in maintaining it since it is a potential source
      of bugs and Linux already implements other better window protection
      heuristics.
      Signed-off-by: NStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ca2eb567
    • D
      ipv4: Disallow non-namespace aware protocols to register. · 547472b8
      David S. Miller 提交于
      All in-tree ipv4 protocol implementations are now namespace
      aware.  Therefore all the run-time checks are superfluous.
      
      Reject registry of any non-namespace aware ipv4 protocol.
      Eventually we'll remove prot->netns_ok and this registry
      time check as well.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      547472b8
    • D
      l2tp: Make ipv4 protocol handler namespace aware. · 9d6ddb19
      David S. Miller 提交于
      The infrastructure is already pretty much entirely there
      to allow this conversion.
      
      The tunnel and session lookups have per-namespace tables,
      and the ipv4 bind lookup includes the namespace in the
      lookup key.
      
      Set netns_ok in l2tp_ip_protocol.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9d6ddb19
    • T
      l2tp: create tunnel sockets in the right namespace · 167eb17e
      Tom Parkin 提交于
      When creating unmanaged tunnel sockets we should honour the network namespace
      passed to l2tp_tunnel_create.  Furthermore, unmanaged tunnel sockets should
      not hold a reference to the network namespace lest they accidentally keep
      alive a namespace which should otherwise have been released.
      
      Unmanaged tunnel sockets now drop their namespace reference via sk_change_net,
      and are released in a new pernet exit callback, l2tp_exit_net.
      Signed-off-by: NTom Parkin <tparkin@katalix.com>
      Signed-off-by: NJames Chapman <jchapman@katalix.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      167eb17e