diff mbox series

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

Message ID 160156426536.1728886.12306247875002872210.stgit@warthog.procyon.org.uk
State New
Headers show
Series rxrpc: Fixes and preparation for RxGK | expand

Commit Message

David Howells Oct. 1, 2020, 2:57 p.m. UTC
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@redhat.com>
---

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

Patch

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;
 	}