]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rxrpc: Ask the security class how much space to allow in a packet
authorDavid Howells <dhowells@redhat.com>
Wed, 16 Sep 2020 00:34:39 +0000 (01:34 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 23 Nov 2020 19:53:11 +0000 (19:53 +0000)
commitd7d775b1ffb15408a60ec12dc9d02d4751e6b10a
treefd5ec2fd330a6857061784d970495ccae899157c
parentceff522db2cc2915d50ca7f019df1cc8b19c871c
rxrpc: Ask the security class how much space to allow in a packet

Ask the security class how much header and trailer space to allow for when
allocating a packet, given how much data is remaining.

This will allow the rxgk security class to stick both a trailer in as well
as a header as appropriate in the future.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/conn_object.c
net/rxrpc/insecure.c
net/rxrpc/rxkad.c
net/rxrpc/sendmsg.c