1. 05 7月, 2019 8 次提交
  2. 26 6月, 2019 1 次提交
    • D
      RDMA/netlink: Audit policy settings for netlink attributes · 34d65cd8
      Doug Ledford 提交于
      For all string attributes for which we don't currently accept the element
      as input, we only use it as output, set the string length to
      RDMA_NLDEV_ATTR_EMPTY_STRING which is defined as 1.  That way we will only
      accept a null string for that element.  This will prevent someone from
      writing a new input routine that uses the element without also updating
      the policy to have a valid value.
      
      Also while there, make sure the existing entries that are valid have the
      correct policy, if not, correct the policy.  Remove unnecessary checks
      for nla_strlcpy() overflow once the policy has been set correctly.
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      34d65cd8
  3. 25 6月, 2019 1 次提交
  4. 24 6月, 2019 9 次提交
  5. 21 6月, 2019 4 次提交
  6. 20 6月, 2019 1 次提交
  7. 19 6月, 2019 3 次提交
  8. 18 6月, 2019 1 次提交
  9. 12 6月, 2019 2 次提交
  10. 11 6月, 2019 4 次提交
  11. 08 6月, 2019 3 次提交
  12. 05 6月, 2019 1 次提交
  13. 31 5月, 2019 1 次提交
  14. 28 5月, 2019 1 次提交