diff options
author | David Howells <dhowells@redhat.com> | 2020-09-16 01:34:39 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-11-23 19:53:11 +0000 |
commit | d7d775b1ffb15408a60ec12dc9d02d4751e6b10a (patch) | |
tree | fd5ec2fd330a6857061784d970495ccae899157c /net/rxrpc/conn_object.c | |
parent | ceff522db2cc2915d50ca7f019df1cc8b19c871c (diff) |
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>
Diffstat (limited to 'net/rxrpc/conn_object.c')
-rw-r--r-- | net/rxrpc/conn_object.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rxrpc/conn_object.c b/net/rxrpc/conn_object.c index 8dd1ef25b98f..b2159dbf5412 100644 --- a/net/rxrpc/conn_object.c +++ b/net/rxrpc/conn_object.c @@ -49,7 +49,6 @@ struct rxrpc_connection *rxrpc_alloc_connection(gfp_t gfp) conn->security = &rxrpc_no_security; spin_lock_init(&conn->state_lock); conn->debug_id = atomic_inc_return(&rxrpc_debug_id); - conn->size_align = 4; conn->idle_timestamp = jiffies; } |