]> git.hungrycats.org Git - linux/commit
[PATCH] SG_SET_RESERVED_SIZE negative oops
authorPat LaVarre <p.lavarre@ieee.org>
Thu, 23 Oct 2003 04:24:04 +0000 (23:24 -0500)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Thu, 23 Oct 2003 04:24:04 +0000 (23:24 -0500)
commitd0e5f8c08162ea4117b4917682e1688b93375fc1
tree687de8a85b77fd3c20cf934ea2339949426d0d41
parentf7ad20118d63e1e1d50151e041ba3d8c45a8fc8f
[PATCH] SG_SET_RESERVED_SIZE negative oops

I propose the 2.6.0-test8 two-line patch below to teach
SG_SET_RESERVED_SIZE to reject a negative size, rather than oops-ing.
drivers/block/scsi_ioctl.c
drivers/scsi/sg.c