From patchwork Sat Aug 22 23:15:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 262068 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DED3C433DF for ; Sat, 22 Aug 2020 23:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F49320738 for ; Sat, 22 Aug 2020 23:16:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="tBJsruhY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728614AbgHVXQQ (ORCPT ); Sat, 22 Aug 2020 19:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbgHVXQO (ORCPT ); Sat, 22 Aug 2020 19:16:14 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F0ECC061573; Sat, 22 Aug 2020 16:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=5vreDZpe3vF5j4MRs+/BjxZJW2uGIU7+S7gFV4WuKQg=; b=tBJsruhYaB6qg1GO0tMx/useVk 01MAAbVN3bNrmvfJovfEnOkkLbA88Aw4PFEsaZUGtf2I9SN8F6JQoGegNeChsRnJDbaXzncnUKwKF LUDOUeZUOC8mAFQS2YkZne00/6JHk9j5EL7AbleCnEe5B5BhPmxdLjkEMhOa7eZthKmDGgPJMQlKD vxy3deC0oSf9g5skcZaGwsbcKcGfAyQER7uNaEdLriwPWomgL2a7cjpuwFU3GHFtdVSjmbFAK/dDT zbfdjWnG+nKrOrTItqQxciWwOyZt70F4WFusdcIe5GwfNOhDfcihzPw6D8kfbWlxOUoCahVnjtP9r cvHhtblw==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9ck8-0006VD-3w; Sat, 22 Aug 2020 23:16:12 +0000 From: Randy Dunlap To: netdev@vger.kernel.org Cc: Randy Dunlap , Vlad Yasevich , Neil Horman , Marcelo Ricardo Leitner , linux-sctp@vger.kernel.org, "David S. Miller" , Jakub Kicinski Subject: [PATCH 2/7] net: sctp: auth.c: delete duplicated words Date: Sat, 22 Aug 2020 16:15:56 -0700 Message-Id: <20200822231601.32125-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200822231601.32125-1-rdunlap@infradead.org> References: <20200822231601.32125-1-rdunlap@infradead.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Drop the repeated word "the" and "now". Signed-off-by: Randy Dunlap Cc: Vlad Yasevich Cc: Neil Horman Cc: Marcelo Ricardo Leitner Cc: linux-sctp@vger.kernel.org Cc: "David S. Miller" Cc: Jakub Kicinski --- net/sctp/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200731.orig/net/sctp/auth.c +++ linux-next-20200731/net/sctp/auth.c @@ -445,7 +445,7 @@ struct sctp_shared_key *sctp_auth_get_sh } /* - * Initialize all the possible digest transforms that we can use. Right now + * Initialize all the possible digest transforms that we can use. Right * now, the supported digests are SHA1 and SHA256. We do this here once * because of the restrictiong that transforms may only be allocated in * user context. This forces us to pre-allocated all possible transforms @@ -810,7 +810,7 @@ int sctp_auth_ep_set_hmacs(struct sctp_e } /* Set a new shared key on either endpoint or association. If the - * the key with a same ID already exists, replace the key (remove the + * key with a same ID already exists, replace the key (remove the * old key and add a new one). */ int sctp_auth_set_key(struct sctp_endpoint *ep, From patchwork Sat Aug 22 23:15:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 262067 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17673C433DF for ; Sat, 22 Aug 2020 23:16:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DCC6420738 for ; Sat, 22 Aug 2020 23:16:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DsbTiGEj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728654AbgHVXQX (ORCPT ); Sat, 22 Aug 2020 19:16:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbgHVXQU (ORCPT ); Sat, 22 Aug 2020 19:16:20 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B78AC061573; Sat, 22 Aug 2020 16:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=gdUf/hhWvkpYBoPnnLAIMvjxz9/l5TJRRSOCns8PMbI=; b=DsbTiGEj3nr8J4naewUkyr/SMo wS6UpL0T17pETTcJ+bBY5Yk7Ht/p6roUqEpXRT2IvOqyginKjJxT8tjFAZ2M4eCtt1exYmflSzxQS kt0ZzMHzH2vjuwP1VpBGLW5yGAgnBvVSlJD9/IwtSL/05fCc1J/pDazQ3zdCKCYRvWhqL/Q+NhP3i dI9u8r1fnoSBOjxhbGdWbiBQiWYRYWvqi5XiFVuuQ/BuBuHzFWFN7Q3b1zbKvI1JSLTQLseHk4c5u fMW99ntRzi8Km8kvENg8Xiy/3Cgb+gQG057wpkJqFLZofWOfRXsvawUVgd4MVtT0L+cEc+RnSnBBf 8EJhnh7A==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9ckE-0006VD-6A; Sat, 22 Aug 2020 23:16:18 +0000 From: Randy Dunlap To: netdev@vger.kernel.org Cc: Randy Dunlap , Vlad Yasevich , Neil Horman , Marcelo Ricardo Leitner , linux-sctp@vger.kernel.org, "David S. Miller" , Jakub Kicinski Subject: [PATCH 4/7] net: sctp: chunk.c: delete duplicated word Date: Sat, 22 Aug 2020 16:15:58 -0700 Message-Id: <20200822231601.32125-5-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200822231601.32125-1-rdunlap@infradead.org> References: <20200822231601.32125-1-rdunlap@infradead.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Vlad Yasevich Cc: Neil Horman Cc: Marcelo Ricardo Leitner Cc: linux-sctp@vger.kernel.org Cc: "David S. Miller" Cc: Jakub Kicinski --- net/sctp/chunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200731.orig/net/sctp/chunk.c +++ linux-next-20200731/net/sctp/chunk.c @@ -179,7 +179,7 @@ struct sctp_datamsg *sctp_datamsg_from_u __func__, asoc, max_data); } - /* If the the peer requested that we authenticate DATA chunks + /* If the peer requested that we authenticate DATA chunks * we need to account for bundling of the AUTH chunks along with * DATA. */ From patchwork Sat Aug 22 23:16:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 262066 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D886CC433E3 for ; Sat, 22 Aug 2020 23:16:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A6DE720738 for ; Sat, 22 Aug 2020 23:16:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="qMUE7/+z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728678AbgHVXQa (ORCPT ); Sat, 22 Aug 2020 19:16:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728664AbgHVXQ2 (ORCPT ); Sat, 22 Aug 2020 19:16:28 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 371C5C061573; Sat, 22 Aug 2020 16:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=EZnbOAcTuCcaexzwhZSY+in/0mQRLC+xi5Hz63sGS+c=; b=qMUE7/+zTsMrwVy5Dzm0c/nbiJ LyB8Mq8fVnWs8vkuKDaNEsDXrb8dJgnQl0+ihPEqOe8Gn76aktT3zjqumZSxIG9F287sqHxBtV549 G4RfRUHlX9OiwlYMABZ0bjed8agxc5alFY6zsmaCq8MagrJ52s2TIwfAaDni4VmeacIm2nnUG9+xK XprHcm9U/KJMaLiJ1zwgb6i5D5sfwVKT0Kc0Vb3gQ8ax94m217zdXlC++B7MZOS/C1oL15RkJAa+b MOKqMcoqnsDkosyUghwd0M5hzb4WRKzXakivL2lYw7s9diJqEGXI49x1QKNzcmXDKvgE0rNX5Gmyr OoXsyNfQ==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9ckK-0006VD-AQ; Sat, 22 Aug 2020 23:16:25 +0000 From: Randy Dunlap To: netdev@vger.kernel.org Cc: Randy Dunlap , Vlad Yasevich , Neil Horman , Marcelo Ricardo Leitner , linux-sctp@vger.kernel.org, "David S. Miller" , Jakub Kicinski Subject: [PATCH 6/7] net: sctp: sm_make_chunk.c: delete duplicated words + fix typo Date: Sat, 22 Aug 2020 16:16:00 -0700 Message-Id: <20200822231601.32125-7-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200822231601.32125-1-rdunlap@infradead.org> References: <20200822231601.32125-1-rdunlap@infradead.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Drop the repeated words "for", "that", and "a". Change "his" to "this". Signed-off-by: Randy Dunlap Cc: Vlad Yasevich Cc: Neil Horman Cc: Marcelo Ricardo Leitner Cc: linux-sctp@vger.kernel.org Cc: "David S. Miller" Cc: Jakub Kicinski --- net/sctp/sm_make_chunk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-next-20200731.orig/net/sctp/sm_make_chunk.c +++ linux-next-20200731/net/sctp/sm_make_chunk.c @@ -1235,7 +1235,7 @@ nodata: /* Create an Operation Error chunk of a fixed size, specifically, * min(asoc->pathmtu, SCTP_DEFAULT_MAXSEGMENT) - overheads. - * This is a helper function to allocate an error chunk for for those + * This is a helper function to allocate an error chunk for those * invalid parameter codes in which we may not want to report all the * errors, if the incoming chunk is large. If it can't fit in a single * packet, we ignore it. @@ -1780,7 +1780,7 @@ no_hmac: * for init collision case of lost COOKIE ACK. * If skb has been timestamped, then use the stamp, otherwise * use current time. This introduces a small possibility that - * that a cookie may be considered expired, but his would only slow + * a cookie may be considered expired, but this would only slow * down the new association establishment instead of every packet. */ if (sock_flag(ep->base.sk, SOCK_TIMESTAMP)) @@ -2319,7 +2319,7 @@ int sctp_process_init(struct sctp_associ /* This implementation defaults to making the first transport * added as the primary transport. The source address seems to - * be a a better choice than any of the embedded addresses. + * be a better choice than any of the embedded addresses. */ if (!sctp_assoc_add_peer(asoc, peer_addr, gfp, SCTP_ACTIVE)) goto nomem;