[PATCH net-next 09/23] rxrpc: Change basic data packet size alignment to 1

David Howells dhowells at redhat.com
Thu Oct 1 10:57:45 EDT 2020


Change the basic data packet size alignment to be 1 not 4.  There isn't
really any need to do otherwise unless there's crypto involved.

Signed-off-by: David Howells <dhowells at redhat.com>
---

 net/rxrpc/conn_object.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/rxrpc/conn_object.c b/net/rxrpc/conn_object.c
index 3bcbe0665f91..d84db9eb9a85 100644
--- a/net/rxrpc/conn_object.c
+++ b/net/rxrpc/conn_object.c
@@ -49,7 +49,7 @@ 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->size_align = 1;
 		conn->idle_timestamp = jiffies;
 	}
 





More information about the linux-afs mailing list