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:

committed by
David S. Miller

parent
5c5458ec9d
commit
bc76e5bb12
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user