1. 08 Feb, 2013 17 commits
  2. 06 Feb, 2013 18 commits
  3. 05 Feb, 2013 5 commits
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 4d9e01da
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      4d9e01da
    • Stephen Hemminger's avatar
      tcp: remove Appropriate Byte Count support · ca2eb567
      Stephen Hemminger authored
      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: default avatarStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ca2eb567
    • David S. Miller's avatar
      ipv4: Disallow non-namespace aware protocols to register. · 547472b8
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      547472b8
    • David S. Miller's avatar
      l2tp: Make ipv4 protocol handler namespace aware. · 9d6ddb19
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      9d6ddb19
    • Tom Parkin's avatar
      l2tp: create tunnel sockets in the right namespace · 167eb17e
      Tom Parkin authored
      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: default avatarTom Parkin <tparkin@katalix.com>
      Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      167eb17e