projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvswitch: Fix flow mask validation.
[cascardo/linux.git]
/
block
/
bsg.c
diff --git
a/block/bsg.c
b/block/bsg.c
index
73c78fd
..
276e869
100644
(file)
--- a/
block/bsg.c
+++ b/
block/bsg.c
@@
-287,6
+287,7
@@
bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr, fmode_t has_write_perm,
next_rq = blk_get_request(q, READ, GFP_KERNEL);
if (IS_ERR(next_rq)) {
ret = PTR_ERR(next_rq);
+ next_rq = NULL;
goto out;
}
rq->next_rq = next_rq;