]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm mpath: fix NULL pointer dereference when path parameters missing
authorAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:13:49 +0000 (04:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:43:35 +0000 (16:43 -0700)
commita812ce040627c0c1ed8c3f48b518877ea5d98ee0
tree5879e59c3d04e62c975b30d51da704c0337f7564
parent71e55b36b5aa7ffe749970afc4056e66518766cc
dm mpath: fix NULL pointer dereference when path parameters missing

commit 6bbf79a14080a0c61212f53b4b87dc1a99fedf9c upstream.

multipath_ctr() forgets to return an error after detecting
missing path parameters.  Fix this.

Signed-off-by: Patrick LoPresti <lopresti@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-mpath.c