diff options
Diffstat (limited to 'net/tls/tls_device.c')
-rw-r--r-- | net/tls/tls_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_device.c b/net/tls/tls_device.c index 79475b102cca..26f26e71ef3f 100644 --- a/net/tls/tls_device.c +++ b/net/tls/tls_device.c | |||
@@ -567,7 +567,7 @@ void handle_device_resync(struct sock *sk, u32 seq, u64 rcd_sn) | |||
567 | 567 | ||
568 | rx_ctx = tls_offload_ctx_rx(tls_ctx); | 568 | rx_ctx = tls_offload_ctx_rx(tls_ctx); |
569 | resync_req = atomic64_read(&rx_ctx->resync_req); | 569 | resync_req = atomic64_read(&rx_ctx->resync_req); |
570 | req_seq = ntohl(resync_req >> 32) - ((u32)TLS_HEADER_SIZE - 1); | 570 | req_seq = (resync_req >> 32) - ((u32)TLS_HEADER_SIZE - 1); |
571 | is_req_pending = resync_req; | 571 | is_req_pending = resync_req; |
572 | 572 | ||
573 | if (unlikely(is_req_pending) && req_seq == seq && | 573 | if (unlikely(is_req_pending) && req_seq == seq && |