1. 07 2月, 2013 1 次提交
    • C
      net: adjust skb_gso_segment() for calling in rx path · 12b0004d
      Cong Wang 提交于
      skb_gso_segment() is almost always called in tx path,
      except for openvswitch. It calls this function when
      it receives the packet and tries to queue it to user-space.
      In this special case, the ->ip_summed check inside
      skb_gso_segment() is no longer true, as ->ip_summed value
      has different meanings on rx path.
      
      This patch adjusts skb_gso_segment() so that we can at least
      avoid such warnings on checksum.
      
      Cc: Jesse Gross <jesse@nicira.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: NCong Wang <amwang@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      12b0004d
  2. 10 1月, 2013 1 次提交
  3. 27 11月, 2012 1 次提交
  4. 17 11月, 2012 1 次提交
  5. 14 11月, 2012 1 次提交
  6. 11 9月, 2012 1 次提交
  7. 04 9月, 2012 1 次提交
  8. 23 8月, 2012 1 次提交
  9. 07 8月, 2012 1 次提交
    • J
      openvswitch: Relax set header validation. · 4185392d
      Jesse Gross 提交于
      When installing a flow with an action to set a particular field we
      need to validate that the packets that are part of the flow actually
      contain that header.  With IP we use zeroed addresses and with TCP/UDP
      the check is for zeroed ports.  This check is overly broad and can catch
      packets like DHCP requests that have a zero source address in a
      legitimate header.  This changes the check to look for a zeroed protocol
      number for IP or for both ports be zero for TCP/UDP before considering
      the header to not exist.
      Reported-by: NEthan Jackson <ethan@nicira.com>
      Signed-off-by: NJesse Gross <jesse@nicira.com>
      4185392d
  10. 21 7月, 2012 2 次提交
  11. 14 5月, 2012 1 次提交
  12. 08 5月, 2012 1 次提交
  13. 04 5月, 2012 2 次提交
  14. 10 4月, 2012 1 次提交
  15. 02 4月, 2012 1 次提交
  16. 29 3月, 2012 1 次提交
  17. 07 3月, 2012 1 次提交
  18. 18 1月, 2012 1 次提交
  19. 17 1月, 2012 1 次提交
  20. 04 12月, 2011 1 次提交
    • J
      net: Add Open vSwitch kernel components. · ccb1352e
      Jesse Gross 提交于
      Open vSwitch is a multilayer Ethernet switch targeted at virtualized
      environments.  In addition to supporting a variety of features
      expected in a traditional hardware switch, it enables fine-grained
      programmatic extension and flow-based control of the network.
      This control is useful in a wide variety of applications but is
      particularly important in multi-server virtualization deployments,
      which are often characterized by highly dynamic endpoints and the need
      to maintain logical abstractions for multiple tenants.
      
      The Open vSwitch datapath provides an in-kernel fast path for packet
      forwarding.  It is complemented by a userspace daemon, ovs-vswitchd,
      which is able to accept configuration from a variety of sources and
      translate it into packet processing rules.
      
      See http://openvswitch.org for more information and userspace
      utilities.
      Signed-off-by: NJesse Gross <jesse@nicira.com>
      ccb1352e