]> 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)
commit831d71ca5ea61fa058d9c7833e354619ec50212e
treefd5ec2fd330a6857061784d970495ccae899157c
parent5fcac3e770393a78e0a0c3a8920407e60c0e3a71
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