1. 10 11月, 2014 5 次提交
  2. 06 11月, 2014 12 次提交
  3. 29 10月, 2014 3 次提交
  4. 21 10月, 2014 1 次提交
    • F
      net: make skb_gso_segment error handling more robust · 330966e5
      Florian Westphal 提交于
      skb_gso_segment has three possible return values:
      1. a pointer to the first segmented skb
      2. an errno value (IS_ERR())
      3. NULL.  This can happen when GSO is used for header verification.
      
      However, several callers currently test IS_ERR instead of IS_ERR_OR_NULL
      and would oops when NULL is returned.
      
      Note that these call sites should never actually see such a NULL return
      value; all callers mask out the GSO bits in the feature argument.
      
      However, there have been issues with some protocol handlers erronously not
      respecting the specified feature mask in some cases.
      
      It is preferable to get 'have to turn off hw offloading, else slow' reports
      rather than 'kernel crashes'.
      Signed-off-by: NFlorian Westphal <fw@strlen.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      330966e5
  5. 18 10月, 2014 3 次提交
  6. 16 10月, 2014 2 次提交
  7. 07 10月, 2014 1 次提交
    • A
      openvswitch: fix a sparse warning · 0a5d1c55
      Andy Zhou 提交于
      Fix a sparse warning introduced by commit:
      f5796684 (openvswitch: Add support for
      Geneve tunneling.) caught by kbuild test robot:
      
      reproduce:
        # apt-get install sparse
        #   git checkout f5796684
        #     make ARCH=x86_64 allmodconfig
        #       make C=1 CF=-D__CHECK_ENDIAN__
        #
        #
        #       sparse warnings: (new ones prefixed by >>)
        #
        #       >> net/openvswitch/vport-geneve.c:109:15: sparse: incorrect type in assignment (different base types)
        #          net/openvswitch/vport-geneve.c:109:15:    expected restricted __be16 [usertype] sport
        #             net/openvswitch/vport-geneve.c:109:15:    got int
        #             >> net/openvswitch/vport-geneve.c:110:56: sparse: incorrect type in argument 3 (different base types)
        #                net/openvswitch/vport-geneve.c:110:56:    expected unsigned short [unsigned] [usertype] value
        #                   net/openvswitch/vport-geneve.c:110:56:    got restricted __be16 [usertype] sport
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NAndy Zhou <azhou@nicira.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0a5d1c55
  8. 06 10月, 2014 5 次提交
  9. 27 9月, 2014 1 次提交
  10. 20 9月, 2014 1 次提交
  11. 16 9月, 2014 5 次提交
  12. 10 9月, 2014 1 次提交