An error occurred fetching the project authors.
  1. 11 Jan, 2005 2 commits
  2. 10 Jan, 2005 2 commits
    • Patrick McHardy's avatar
      [PKT_SCHED]: Add rtattr_strlcpy, use it where appropriate · af4be126
      Patrick McHardy authored
      Add rtattr_strlcpy to handle unterminated strings. The destination
      is nulled out entirely to avoid possible leaks when dumping. The
      return value can be checked for >= size to detect truncated strings.
      Currently strings equal to the size of the destination are accepted
      everywhere even if not null-terminated. Sometimes they are silently
      truncated, sometimes the unterminated string is used.
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      af4be126
    • Thomas Graf's avatar
      [PKT_SCHED]: tc filter extension API · 2a221988
      Thomas Graf authored
      The tcf_exts API abstracts extensions such as actions/policers
      into a generic layer and reduces the knowledge inside classifiers
      to the minimum required. It isolates the validation code into
      its own function to allow classifiers to validate all input
      data before making changes and thus avoids the need to undo changes
      if a extension configuration request cannot be fullfilled.
      
      Adds missing locking when adding a action/police extension to an
      already existing filter. Acquiring  dev->queue_lock makes sure we
      don't change the action/police in the middle of a classification.
      Noted by Patrick McHardy.
      
      As a nice side effect, using this API removes the existing
      ifdef clutter.
      
      Usage:
        The classifier holds struct tcf_exts which may be empty if no
        extensions are compiled in. It then calls tcf_exts_validate
        when a new change request was received and provides a temporary
        tcf_exts copy to store the change requests. Given it succeeded
        the classifier may change its own parameters and at the end
        call tcf_exts_change to commit the changes and replace the
        existing extension configuration with the new one. The classifier
        is responsible to destroy his temporary copy if any of its own
        validation checks fail.
      
        The classifier specific TLV types must be exported to the extensions
        API via tcf_ext_map.
      
        Destroying the extensions is as easy as calling tcf_exts_destroy.
      
        The extensions are executed by the classifier by calling tcf_exts_exec
        which must be done as the last thing after making sure the
        filter matches. Note: A classifier might take further actions after
        the execution to tcf_exts_exec such as correcting its own cache to
        avoid caching results which could have been influenced by the extensions.
      
        tcf_exts_exec returns a negative error code if the filter must be
        considered unmatched, 0 on normal execution or a positive classifier
        return code (TC_ACT_*) which must be returned to the underlying layer
        as-is.
      Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2a221988
  3. 09 Nov, 2004 1 commit
  4. 26 Oct, 2004 2 commits
  5. 21 Oct, 2004 1 commit
  6. 20 Oct, 2004 1 commit
  7. 03 Oct, 2004 2 commits
  8. 09 Aug, 2004 1 commit
  9. 28 Jul, 2004 1 commit
  10. 15 Jun, 2004 1 commit
  11. 20 Feb, 2004 1 commit
  12. 24 Dec, 2003 1 commit
  13. 28 Sep, 2003 1 commit
  14. 17 May, 2003 1 commit
  15. 29 Apr, 2003 1 commit
  16. 19 Apr, 2003 1 commit
  17. 05 Feb, 2002 2 commits
    • Linus Torvalds's avatar
      v2.5.2 -> v2.5.2.1 · d694597e
      Linus Torvalds authored
      - Al Viro: fix up silly problem in swapfile filp cleanups in 2.5.2
      - Tachino Nobuhiro: fix another error return for swapfile filp code
      - Robert Love: merge some of Ingo's scheduler fixes
      - David Miller: networking, sparc and some scsi driver fixes
      - Tim Waugh: parport update
      - OGAWA Hirofumi: fatfs cleanups and bugfixes
      - Roland Dreier: fix vsscanf buglets.
      - Ben LaHaise: include file cleanup
      - Andre Hedrick: IDE taskfile update
      d694597e
    • Linus Torvalds's avatar
      Import changeset · 7a2deb32
      Linus Torvalds authored
      7a2deb32