Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577821

Sed-opal fixups

From Scott Bauer <scott.bauer@intel.com>
Newsgroups linux.kernel
Subject Sed-opal fixups
Date 2017-02-09 18:40 +0100
Message-ID <t90Rj-BX-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Sed-opal fixups  Scott Bauer <scott.bauer@intel.com> - 2017-02-09 18:40 +0100
  Re: Sed-opal fixups Scott Bauer <scott.bauer@intel.com> - 2017-02-09 19:00 +0100
    Re: Sed-opal fixups Scott Bauer <scott.bauer@intel.com> - 2017-02-09 21:20 +0100
  RE: Sed-opal fixups  David Laight <David.Laight@ACULAB.COM> - 2017-02-09 19:10 +0100

csiph-web