OSDN Git Service

net/tls: Fix a typo in tls_device.c
authorWang Hai <wanghai38@huawei.com>
Wed, 24 Mar 2021 06:16:22 +0000 (14:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2021 00:52:11 +0000 (17:52 -0700)
s/beggining/beginning/

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_device.c

index d9cd229..790c6b7 100644 (file)
@@ -601,7 +601,7 @@ struct tls_record_info *tls_get_record(struct tls_offload_context_tx *context,
        if (!info ||
            before(seq, info->end_seq - info->len)) {
                /* if retransmit_hint is irrelevant start
-                * from the beggining of the list
+                * from the beginning of the list
                 */
                info = list_first_entry_or_null(&context->records_list,
                                                struct tls_record_info, list);