]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Use correct timestamp from Kerberos 5 ticket
authorDavid Howells <dhowells@redhat.com>
Tue, 29 Aug 2017 09:15:40 +0000 (10:15 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 29 Aug 2017 09:55:06 +0000 (10:55 +0100)
commit914416d0d7de8535657a497aabe35938c67395c3
tree320a5da51eb6837d04992ee9ac6ceee34f9171b0
parenta6ad00da6285c66aa937b6f8dffb8cf6a19d1ce4
rxrpc: Use correct timestamp from Kerberos 5 ticket

When an XDR-encoded Kerberos 5 ticket is added as an rxrpc-type key, the
expiry time should be drawn from the k5 part of the token union (which was
what was filled in), rather than the kad part of the union.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/key.c