]> git.baikalelectronics.ru Git - 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)
commitf48ae037a1fcc0d5b606e261dbe01b832cab0f00
treefd5ec2fd330a6857061784d970495ccae899157c
parent2dd562e715cc655162c005de3692ee1c9f9fc3b9
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