1. 09 3月, 2009 6 次提交
  2. 08 3月, 2009 1 次提交
  3. 07 3月, 2009 1 次提交
  4. 06 3月, 2009 3 次提交
  5. 05 3月, 2009 4 次提交
    • R
      loop: don't increment p->offset with (size_t) -EINVAL · a3941ec1
      Roel Kluin 提交于
      Upon a 'transfer error block' size is set to -EINVAL, but this becomes positive
      since size is unsigned: p->offset still gets incremented.
      Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      a3941ec1
    • J
      cciss: remove 30 second initial timeout on controller reset · 5e18cfd0
      Jens Axboe 提交于
      Commit 5e4c91c8 forgot to remove the
      initial sleep, get rid of it.
      
      Thanks to Randy Dunlap <randy.dunlap@oracle.com> for spotting this error.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      5e18cfd0
    • K
      Fix kernel NULL pointer dereference in xen-blkfront · a1a15ac5
      Kris Shannon 提交于
      When booting Xen Dom0 on a pre-release 3.2.1 hypervisor the system Oopses on a
      "Unable to handle kernel NULL pointer dereference" in xenwatch.
      
      From the backtrace it looks like backend_changed is calling bdget_disk
      with a NULL pointer.  Checking for NULL and returning ENODEV instead
      allows the kernel to boot.
      a1a15ac5
    • E
      smack: fixes for unlabeled host support · 211a40c0
      etienne 提交于
      The following patch (against 2.6.29rc5) fixes a few issues in the
      smack/netlabel "unlabeled host support" functionnality that was added in
      2.6.29rc.  It should go in before -final.
      
      1) smack_host_label disregard a "0.0.0.0/0 @" rule (or other label),
      preventing 'tagged' tasks to access Internet (many systems drop packets with
      IP options)
      
      2) netmasks were not handled correctly, they were stored in a way _not
      equivalent_ to conversion to be32 (it was equivalent for /0, /8, /16, /24,
      /32 masks but not other masks)
      
      3) smack_netlbladdr prefixes (IP/mask) were not consistent (mask&IP was not
      done), so there could have been different list entries for the same IP
      prefix; if those entries had different labels, well ...
      
      4) they were not sorted
      
      1) 2) 3) are bugs, 4) is a more cosmetic issue.
      The patch :
      
      -creates a new helper smk_netlbladdr_insert to insert a smk_netlbladdr,
      -sorted by netmask length
      
      -use the new sorted nature of  smack_netlbladdrs list to simplify
       smack_host_label : the first match _will_ be the more specific
      
      -corrects endianness issues in smk_write_netlbladdr &  netlbladdr_seq_show
      
      Signed-off-by: <etienne.basset@numericable.fr>
      Acked-by: NCasey Schaufler <casey@schaufler-ca.com>
      Reviewed-by: NPaul Moore <paul.moore@hp.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      211a40c0
  6. 04 3月, 2009 12 次提交
  7. 03 3月, 2009 13 次提交