[GIT PULL] tpmdd changes for v6.9-rc2

From: Jarkko Sakkinen
Date: Tue Mar 26 2024 - 10:39:00 EST


Merge tag 'gfs2-v6.8-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (2024-03-25 10:53:39 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/tpmdd-v6.9-rc2

for you to fetch changes up to 6999f8229e5998e8286e6a960779b6c202d878da:

keys: Fix overwrite of key expiration on instantiation (2024-03-26 16:24:53 +0200)

----------------------------------------------------------------
Hi,

This pull request contains just a couple of unintrusive changes for
v6.9.

Note that "keys: update key quotas in key_put()" makes quotas less racy
by updating qnkeys and qnbytes already in key_put(). It is not exactly a
bug fix but does make overall kerrnel behaviour more stable and
consistent. Just adding this because I try to keep follow-up PR's for
kernel releases bug fix only but I think here it makes sense to make an
exception.

BR, Jarkko

----------------------------------------------------------------
Luis Henriques (1):
keys: update key quotas in key_put()

Silvio Gissi (1):
keys: Fix overwrite of key expiration on instantiation

security/keys/gc.c | 8 --------
security/keys/key.c | 35 ++++++++++++++++++++++++-----------
security/keys/keyctl.c | 11 ++++++-----
3 files changed, 30 insertions(+), 24 deletions(-)