1. 09 7月, 2015 5 次提交
  2. 07 11月, 2014 1 次提交
  3. 13 2月, 2014 3 次提交
  4. 22 1月, 2014 1 次提交
  5. 20 1月, 2014 1 次提交
  6. 15 1月, 2014 1 次提交
  7. 14 1月, 2014 1 次提交
  8. 28 12月, 2013 1 次提交
    • J
      net_sched: act: Dont increment refcnt on replace · 1a29321e
      Jamal Hadi Salim 提交于
       This is a bug fix. The existing code tries to kill many
       birds with one stone: Handling binding of actions to
       filters, new actions and replacing of action
       attributes. A simple test case to illustrate:
      
      XXXX
       moja@fe1:~$ sudo tc actions add action drop index 12
       moja@fe1:~$ actions get action gact index 12
       action order 1: gact action drop
        random type none pass val 0
        index 12 ref 1 bind 0
       moja@fe1:~$ sudo tc actions replace action ok index 12
       moja@fe1:~$ actions get action gact index 12
       action order 1: gact action drop
        random type none pass val 0
        index 12 ref 2 bind 0
      XXXX
      
      The above shows the refcounf being wrongly incremented on replace.
      There are more complex scenarios with binding of actions to filters
      that i am leaving out that didnt work as well...
      Signed-off-by: NJamal Hadi Salim <jhs@mojatatu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1a29321e
  9. 21 12月, 2013 1 次提交
  10. 19 12月, 2013 1 次提交
  11. 06 12月, 2013 2 次提交
  12. 15 1月, 2013 1 次提交
  13. 04 8月, 2012 1 次提交
  14. 02 4月, 2012 1 次提交
  15. 06 7月, 2011 1 次提交
  16. 20 1月, 2011 1 次提交
  17. 18 8月, 2010 1 次提交
  18. 18 5月, 2010 1 次提交
  19. 26 11月, 2008 1 次提交
  20. 20 7月, 2008 1 次提交
  21. 29 1月, 2008 3 次提交
  22. 11 7月, 2007 1 次提交
  23. 26 4月, 2007 2 次提交
  24. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  25. 11 2月, 2007 1 次提交
  26. 03 12月, 2006 1 次提交
  27. 23 9月, 2006 1 次提交
    • D
      [PKT_SCHED]: Kill pkt_act.h inlining. · e9ce1cd3
      David S. Miller 提交于
      This was simply making templates of functions and mostly causing a lot
      of code duplication in the classifier action modules.
      
      We solve this more cleanly by having a common "struct tcf_common" that
      hash worker functions contained once in act_api.c can work with.
      
      Callers work with real action objects that have the common struct
      plus their module specific struct members.  You go from a common
      object to the higher level one using a "to_foo()" macro which makes
      use of container_of() to do the dirty work.
      
      This also kills off act_generic.h which was only used by act_simple.c
      and keeping it around was more work than the it's value.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e9ce1cd3
  28. 01 7月, 2006 1 次提交
  29. 10 1月, 2006 2 次提交