All of lore.kernel.org
 help / color / mirror / Atom feed
* Sed-opal fixups
@ 2017-02-09 17:19 ` Scott Bauer
  0 siblings, 0 replies; 26+ messages in thread
From: Scott Bauer @ 2017-02-09 17:19 UTC (permalink / raw)
  To: linux-nvme
  Cc: keith.busch, arnd, hch, linux-kernel, axboe, David.Laight,
	linux-block, jonathan.derrick

It may be too late to change anyhting in the uapi header. When we
switched over to using IOC_SIZE I found a bug where I had switched
up a structure in one of the series from v4 to v5 but never changed
the structure in the IOW. The structure that was in there was to small
so when we kzalloc on it we don't request enough space. It worked before
because we were using the cmd strictly as a command #, not using the IOC
and friends.

If it's too late to modify that IOW, I can work around it by reallocing
on the correct size for that command only. I verified the rest of the
commands and the structures are the same.

Let me know what you think, please.


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2017-02-10 15:57 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 17:19 Sed-opal fixups Scott Bauer
2017-02-09 17:19 ` Scott Bauer
2017-02-09 17:20 ` [PATCH V3 1/2] uapi: sed-opal fix IOW for activate lsp to use correct struct Scott Bauer
2017-02-09 17:20   ` Scott Bauer
2017-02-09 17:20 ` [PATCH V3 2/2] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN Scott Bauer
2017-02-09 17:20   ` Scott Bauer
2017-02-09 19:51   ` Rafael Antognolli
2017-02-09 19:51     ` Rafael Antognolli
2017-02-10  7:45   ` Johannes Thumshirn
2017-02-10  7:45     ` Johannes Thumshirn
2017-02-10 10:28     ` David Laight
2017-02-10 10:28       ` David Laight
2017-02-10 11:00       ` Arnd Bergmann
2017-02-10 11:00         ` Arnd Bergmann
2017-02-10  8:01   ` Arnd Bergmann
2017-02-10  8:01     ` Arnd Bergmann
2017-02-10 15:57     ` Scott Bauer
2017-02-10 15:57       ` Scott Bauer
2017-02-09 17:43 ` Sed-opal fixups David Laight
2017-02-09 17:43   ` David Laight
2017-02-09 17:45   ` Scott Bauer
2017-02-09 17:45     ` Scott Bauer
2017-02-09 18:24     ` Jens Axboe
2017-02-09 18:24       ` Jens Axboe
2017-02-09 20:01       ` Scott Bauer
2017-02-09 20:01         ` Scott Bauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.