1. 02 8月, 2018 1 次提交
  2. 28 7月, 2018 1 次提交
  3. 27 7月, 2018 2 次提交
  4. 24 7月, 2018 4 次提交
  5. 22 7月, 2018 1 次提交
  6. 19 7月, 2018 1 次提交
  7. 14 7月, 2018 1 次提交
  8. 08 7月, 2018 3 次提交
  9. 26 6月, 2018 2 次提交
  10. 07 6月, 2018 1 次提交
  11. 05 6月, 2018 2 次提交
  12. 01 6月, 2018 1 次提交
    • V
      net: sched: split tc_ctl_tfilter into three handlers · c431f89b
      Vlad Buslov 提交于
      tc_ctl_tfilter handles three netlink message types: RTM_NEWTFILTER,
      RTM_DELTFILTER, RTM_GETTFILTER. However, implementation of this function
      involves a lot of branching on specific message type because most of the
      code is message-specific. This significantly complicates adding new
      functionality and doesn't provide much benefit of code reuse.
      
      Split tc_ctl_tfilter to three standalone functions that handle filter new,
      delete and get requests.
      
      The only truly protocol independent part of tc_ctl_tfilter is code that
      looks up queue, class, and block. Refactor this code to standalone
      tcf_block_find function that is used by all three new handlers.
      Signed-off-by: NVlad Buslov <vladbu@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c431f89b
  13. 25 5月, 2018 2 次提交
  14. 12 5月, 2018 1 次提交
  15. 28 3月, 2018 1 次提交
  16. 10 3月, 2018 1 次提交
  17. 28 2月, 2018 1 次提交
  18. 21 2月, 2018 1 次提交
    • R
      net: sched: report if filter is too large to dump · 5ae437ad
      Roman Kapl 提交于
      So far, if the filter was too large to fit in the allocated skb, the
      kernel did not return any error and stopped dumping. Modify the dumper
      so that it returns -EMSGSIZE when a filter fails to dump and it is the
      first filter in the skb. If we are not first, we will get a next chance
      with more room.
      
      I understand this is pretty near to being an API change, but the
      original design (silent truncation) can be considered a bug.
      
      Note: The error case can happen pretty easily if you create a filter
      with 32 actions and have 4kb pages. Also recent versions of iproute try
      to be clever with their buffer allocation size, which in turn leads to
      Signed-off-by: NRoman Kapl <code@rkapl.cz>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Acked-by: NCong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ae437ad
  19. 17 2月, 2018 3 次提交
  20. 14 2月, 2018 1 次提交
  21. 07 2月, 2018 3 次提交
  22. 25 1月, 2018 1 次提交
  23. 20 1月, 2018 4 次提交
  24. 18 1月, 2018 1 次提交