git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9f29b
)
scatterlist: add more safeguards
author
Tejun Heo
<htejun@gmail.com>
Tue, 27 Nov 2007 08:30:39 +0000
(09:30 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 27 Nov 2007 08:30:39 +0000
(09:30 +0100)
Add more safeguards to protect against misinterpreting a chain entry
as a normal scatterlist and vice-versa.
* Make sure the entry isn't a chain when assigning and reading a
normal sg.
* Clear offset and length when chaining.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/scatterlist.h
patch
|
blob
|
history
diff --cc
include/linux/scatterlist.h
Simple merge