From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 9A8FBC3A59E for ; Wed, 4 Sep 2019 04:27:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F4EC21883 for ; Wed, 4 Sep 2019 04:27:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MCs9LbTu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725975AbfIDE1T (ORCPT ); Wed, 4 Sep 2019 00:27:19 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:33676 "EHLO mail-io1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbfIDE1T (ORCPT ); Wed, 4 Sep 2019 00:27:19 -0400 Received: by mail-io1-f53.google.com with SMTP id m11so9263114ioo.0 for ; Tue, 03 Sep 2019 21:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-transfer-encoding; bh=oT1RDW3WtDavPe2D4YD5Z5P3x5sZaWycvyp13JkqAZQ=; b=MCs9LbTu7InOXGMyAqYsFCPTsHmr1fCmRAylP6f9bo62Ma2pmG5+VvQQNYAw4zOt6s ikZyQmFJaupXaUG04MNs7H5N4bsLmaEt+KHsCRKWE28tF13Zq6wD5fClqCK99vU/nqAG 8qud1SdSz1+htT12hZ7ho0AqFjWjzvcQLutPz/NymyZg/UVOcx/SGtwAWdBvl6Zq2jX/ DDAP5fUUeQUqz3+JCfRvKQN6fPUl8lb/4w8dJDpx7kQUfpMlLFkb/A8fdXHEWQFuLyqs oyOfe9E6yyr6G0Eh1aoTJM8T3z5FNomlDJzzVyJQDzDxfnu5DoxS0lu9GH4kwhGZuwzU 9l0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-transfer-encoding; bh=oT1RDW3WtDavPe2D4YD5Z5P3x5sZaWycvyp13JkqAZQ=; b=UzwD93qubmVZnReISPToyl7iiBVpN7qU4feh7mN56hQbHIwlIO2NfiAguqtw8ochnx FyJ4XQjcHQIbVGtkkmFbw3NK3djfXBWyeV9jq/UnkVPes45GzP+Ny+tlyZu7wXB5oRw+ dfmHtugYK2bcey0pKvwSQUhwMGnirPP9UFr7kqhGZgsR0U3F/JF8kVYlkcJbIV1FtelG DOtazsT0tMKSZzywqaiQhO0KfvEKZcDYagHTw8dy00TmrxSTR+Yh003GgEaaO7xjPS65 PzA/KnBw2x4HDrfyVNNUFQQccWMs/XKcFyWTGkOvbH42yuiF5oVey0nffgW+xdh6skpD X+WQ== X-Gm-Message-State: APjAAAU9EoGfea76iTx3xt7f8mu/cjb+YFrUElazw4udMYkK7aE/d26S l60IB1TJ1HfabGskmdslJII= X-Google-Smtp-Source: APXvYqxVbVdIVOuwxFxHqrjqyuGqcOQl4w3zeMbuWo2WlJOZSb3Sh7L95TED607P41OvfFHUPAX/yw== X-Received: by 2002:a02:608:: with SMTP id 8mr11647809jav.88.1567571238444; Tue, 03 Sep 2019 21:27:18 -0700 (PDT) Received: from localhost ([184.63.162.180]) by smtp.gmail.com with ESMTPSA id z14sm14309631iol.86.2019.09.03.21.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 21:27:17 -0700 (PDT) Date: Tue, 03 Sep 2019 21:27:05 -0700 From: John Fastabend To: Jakub Kicinski , davem@davemloft.net Cc: netdev@vger.kernel.org, oss-drivers@netronome.com, davejwatson@fb.com, borisp@mellanox.com, aviadye@mellanox.com, john.fastabend@gmail.com, daniel@iogearbox.net, Jakub Kicinski , John Hurley , Dirk van der Merwe Message-ID: <5d6f3d193926e_de32af1eb5fc5b41a@john-XPS-13-9370.notmuch> In-Reply-To: <20190903043106.27570-2-jakub.kicinski@netronome.com> References: <20190903043106.27570-1-jakub.kicinski@netronome.com> <20190903043106.27570-2-jakub.kicinski@netronome.com> Subject: RE: [PATCH net-next 1/5] net/tls: use the full sk_proto pointer Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Jakub Kicinski wrote: > Since we already have the pointer to the full original sk_proto > stored use that instead of storing all individual callback > pointers as well. > > Signed-off-by: Jakub Kicinski > Reviewed-by: John Hurley > Reviewed-by: Dirk van der Merwe > --- > drivers/crypto/chelsio/chtls/chtls_main.c | 6 +++-- > include/net/tls.h | 10 --------- > net/tls/tls_main.c | 27 +++++++++-------------- > 3 files changed, 14 insertions(+), 29 deletions(-) > I like it should probably do the same to tcp_bpf.c. Acked-by: John Fastabend