summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorKees Cook2017-05-18 22:07:49 +0200
committerKees Cook2017-05-23 01:53:09 +0200
commitc10e8031d5b34cde06b039ca2e8af87a33d5ba11 (patch)
treef800c8c790549217d7f16c413c3609de51bb4e25 /net/bridge
parentefi-pstore: Fix read iter after pstore API refactor (diff)
downloadkernel-qcow2-linux-c10e8031d5b34cde06b039ca2e8af87a33d5ba11.tar.gz
kernel-qcow2-linux-c10e8031d5b34cde06b039ca2e8af87a33d5ba11.tar.xz
kernel-qcow2-linux-c10e8031d5b34cde06b039ca2e8af87a33d5ba11.zip
efi-pstore: Fix write/erase id tracking
Prior to the pstore interface refactoring, the "id" generated during a backend pstore_write() was only retained by the internal pstore inode tracking list. Additionally the "part" was ignored, so EFI would encode this in the id. This corrects the misunderstandings and correctly sets "id" during pstore_write(), and uses "part" directly during pstore_erase(). Reported-by: Marta Lofstedt <marta.lofstedt@intel.com> Fixes: 76cc9580e3fb ("pstore: Replace arguments for write() API") Fixes: a61072aae693 ("pstore: Replace arguments for erase() API") Signed-off-by: Kees Cook <keescook@chromium.org> Tested-by: Marta Lofstedt <marta.lofstedt@intel.com>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions