1. 05 10月, 2014 1 次提交
  2. 04 10月, 2014 2 次提交
  3. 02 10月, 2014 4 次提交
  4. 01 10月, 2014 3 次提交
  5. 30 9月, 2014 2 次提交
  6. 27 9月, 2014 8 次提交
  7. 23 9月, 2014 11 次提交
  8. 22 9月, 2014 1 次提交
  9. 20 9月, 2014 3 次提交
    • F
      net: allow macvlans to move to net namespace · 0d0162e7
      Francesco Ruggeri 提交于
      I cannot move a macvlan interface created on top of a bonding interface
      to a different namespace:
      
      % ip netns add dummy0
      % ip link add link bond0 mac0 type macvlan
      % ip link set mac0 netns dummy0
      RTNETLINK answers: Invalid argument
      %
      
      The problem seems to be that commit f9399814 ("bonding: Don't allow
      bond devices to change network namespaces.") sets NETIF_F_NETNS_LOCAL
      on bonding interfaces, and commit 797f87f8 ("macvlan: fix netdev
      feature propagation from lower device") causes macvlan interfaces
      to inherit its features from the lower device.
      
      NETIF_F_NETNS_LOCAL should not be inherited from the lower device
      by a macvlan.
      Patch tested on 3.16.
      Signed-off-by: NFrancesco Ruggeri <fruggeri@arista.com>
      Acked-by: NCong Wang <cwang@twopensource.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0d0162e7
    • N
      3c59x: Fix bad offset spec in skb_frag_dma_map · 8400dd02
      Neil Horman 提交于
      Recently aded the use of skb_frag_dma_map to 3c59x, but didn't realize it
      automatically included the frag_offset internally, as well as provided an option
      to specify an extra offset in the parameter list.  We need to specify an offset
      of 0 in the parameter list to avoid skb corruption that results in lost
      connections.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      CC: Linux Kernel list <linux-kernel@vger.kernel.org>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: Meelis Roos <mroos@linux.ee>
      Tested-by: NMeelis Roos <mroos@linux.ee>
      8400dd02
    • N
      3c59x: Add dma error checking and recovery · 6f2b6a30
      Neil Horman 提交于
      Noted that 3c59x has no checks on transmit for failed DMA mappings, and no
      ability to unmap fragments when a single map fails in the middle of a transmit.
      This patch provides error checking to ensure that dma mappings work properly,
      and unrolls an skb mapping if a fragmented skb transmission has a mapping
      failure to prevent leaks.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      CC: Linux Kernel list <linux-kernel@vger.kernel.org>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: Meelis Roos <mroos@linux.ee>
      Tested-by: NMeelis Roos <mroos@linux.ee>
      6f2b6a30
  10. 18 9月, 2014 5 次提交