1. 19 12月, 2018 2 次提交
    • H
      net: hns3: fix error handling int the hns3_get_vector_ring_chain · cda69d24
      Huazhong Tan 提交于
      When hns3_get_vector_ring_chain() failed in the
      hns3_nic_init_vector_data(), it should do the error handling instead
      of return directly.
      
      Also, cur_chain should be freed instead of chain and head->next should
      be set to NULL in error handling of hns3_get_vector_ring_chain.
      
      This patch fixes them.
      
      Fixes: 73b907a0 ("net: hns3: bugfix for buffer not free problem during resetting")
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NPeng Li <lipeng321@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cda69d24
    • D
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next · 77c7a7b3
      David S. Miller 提交于
      Steffen Klassert says:
      
      ====================
      pull request (net-next): ipsec-next 2018-12-18
      
      1) Add xfrm policy selftest scripts.
         From Florian Westphal.
      
      2) Split inexact policies into four different search list
         classes and use the rbtree infrastructure to store/lookup
         the policies. This is to improve the policy lookup
         performance after the flowcache removal.
         Patches from Florian Westphal.
      
      3) Various coding style fixes, from Colin Ian King.
      
      4) Fix policy lookup logic after adding the inexact policy
         search tree infrastructure. From Florian Westphal.
      
      5) Remove a useless remove BUG_ON from xfrm6_dst_ifdown.
         From Li RongQing.
      
      6) Use the correct policy direction for lookups on hash
         rebuilding. From Florian Westphal.
      
      Please pull or let me know if there are problems.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      77c7a7b3
  2. 18 12月, 2018 26 次提交
  3. 17 12月, 2018 12 次提交