1. 01 Feb, 2010 1 commit
    • Artem Bityutskiy's avatar
      UBI: mark few variables as __initdata · 9e0c7ef3
      Artem Bityutskiy authored
      The @mtd_devs and @mtd_dev_param variables are used only during the
      initialization, and all functions that use the variables have
      the __init prefix. This means we can safely mark the variables
      as __initdata, which is a tiny optimization.
      
      Impact: tiny RAM consumption optimization when UBI is used as a kernel
              module.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      9e0c7ef3
  2. 29 Jan, 2010 2 commits
  3. 28 Jan, 2010 7 commits
  4. 27 Jan, 2010 29 commits
  5. 26 Jan, 2010 1 commit
    • Stefan Richter's avatar
      firewire: core: fix use-after-free regression in FCP handler · 281e2032
      Stefan Richter authored
      Commit db5d247a "firewire: fix use of multiple AV/C devices, allow
      multiple FCP listeners" introduced a regression into 2.6.33-rc3:
      The core freed payloads of incoming requests to FCP_Request or
      FCP_Response before a userspace driver accessed them.
      
      We need to copy such payloads for each registered userspace client
      and free the copies according to the lifetime rules of non-FCP client
      request resources.
      
      (This could possibly be optimized by reference counts instead of
      copies.)
      
      The presently only kernelspace driver which listens for FCP requests,
      firedtv, was not affected because it already copies FCP frames into an
      own buffer before returning to firewire-core's FCP handler dispatcher.
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      281e2032