diff options
author | David Howells | 2016-04-07 18:23:58 +0200 |
---|---|---|
committer | David S. Miller | 2016-04-11 21:34:41 +0200 |
commit | e0e4d82f3be60cfe8b10304c6daf3ca5973ae9e3 (patch) | |
tree | 717c4bd8d4a001016917688b38ce767ecf79ce39 /net/rxrpc/ar-input.c | |
parent | rxrpc: Absorb the rxkad security module (diff) | |
download | kernel-qcow2-linux-e0e4d82f3be60cfe8b10304c6daf3ca5973ae9e3.tar.gz kernel-qcow2-linux-e0e4d82f3be60cfe8b10304c6daf3ca5973ae9e3.tar.xz kernel-qcow2-linux-e0e4d82f3be60cfe8b10304c6daf3ca5973ae9e3.zip |
rxrpc: Create a null security type and get rid of conditional calls
Create a null security type for security index 0 and get rid of all
conditional calls to the security operations. We expect normally to be
using security, so this should be of little negative impact.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-input.c')
-rw-r--r-- | net/rxrpc/ar-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index c6c784d3a3e8..01e038146b7c 100644 --- a/net/rxrpc/ar-input.c +++ b/net/rxrpc/ar-input.c @@ -193,7 +193,7 @@ static int rxrpc_fast_process_data(struct rxrpc_call *call, /* if the packet need security things doing to it, then it goes down * the slow path */ - if (call->conn->security) + if (call->conn->security_ix) goto enqueue_packet; sp->call = call; |