diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-06-10 21:39:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-11 12:22:26 -0700 |
commit | 4967373959cd8a437df92413ea932e638a0518b1 (patch) | |
tree | 23e241c8223f9e59f118e7262f011d3dad463a5d /include/net/tls.h | |
parent | packet: remove unused variable 'status' in __packet_lookup_frame_in_block (diff) | |
download | linux-dev-4967373959cd8a437df92413ea932e638a0518b1.tar.xz linux-dev-4967373959cd8a437df92413ea932e638a0518b1.zip |
net/tls: simplify seq calculation in handle_device_resync()
We subtract "TLS_HEADER_SIZE - 1" from req_seq, then if they
match we add the same constant to seq. Just add it to seq,
and we don't have to touch req_seq.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tls.h')
0 files changed, 0 insertions, 0 deletions