net/tls: store decrypted on a single bit

Use a single bit instead of boolean to remember if packet
was already decrypted.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jakub Kicinski
2019-10-06 21:09:32 -07:00
committed by David S. Miller
parent 5c5458ec9d
commit bc76e5bb12
2 changed files with 4 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ struct tls_sw_context_rx {
struct sk_buff *recv_pkt;
u8 control;
u8 async_capable:1;
bool decrypted;
u8 decrypted:1;
atomic_t decrypt_pending;
bool async_notify;
};