Message ID | 20170606170047.GA19276@davejwatson-mba.local (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show
Return-Path: <linux-crypto-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 36D9860364 for <patchwork-linux-crypto@patchwork.kernel.org>; Tue, 6 Jun 2017 17:01:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3476E284B5 for <patchwork-linux-crypto@patchwork.kernel.org>; Tue, 6 Jun 2017 17:01:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28BF1284BB; Tue, 6 Jun 2017 17:01:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 798F7284D4 for <patchwork-linux-crypto@patchwork.kernel.org>; Tue, 6 Jun 2017 17:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751464AbdFFRBS (ORCPT <rfc822;patchwork-linux-crypto@patchwork.kernel.org>); Tue, 6 Jun 2017 13:01:18 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:46909 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588AbdFFRBP (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Tue, 6 Jun 2017 13:01:15 -0400 Received: from pps.filterd (m0044008.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v56Gx18j019323; Tue, 6 Jun 2017 10:01:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=facebook; bh=13hkdghBLl6dkK18tDVukoQRxdQ6ZQtceqtrdkJ0SkE=; b=XGjC8/Bmu09I2GIxmEyDuZ61idpvnm/z39z6oNlxoaCMbejhqjeW9BzzsZnwth/gNYbH SOafoT5Yn0GURVtsKip6pDE0D3KZ9y0td5jgT2aq2rTjxtaOczPDF7Ak4oE/qmauaIib ciS829HDDUQUHhEcH/xBkP2RWKWTORuBNmw= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2awwr1rp04-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 06 Jun 2017 10:01:04 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.13) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Jun 2017 10:01:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=13hkdghBLl6dkK18tDVukoQRxdQ6ZQtceqtrdkJ0SkE=; b=Gh8uoRMcPh2+8HvvUjK449ZH8zjafaPq0v3K9mnr9apSbDMnz3ykchpT+HlrVA4VH909KiquGun2LAQ1nzIq93naY9r/kjPFD08LbWSfEvyBwrz+usv2sfTQuAuK8Ds8NPQ4SGLS2DZn7O7MARtxfleJUuJt8hUrzvLFo9TZEWI= Authentication-Results: mellanox.com; dkim=none (message not signed) header.d=none; mellanox.com; dmarc=none action=none header.from=fb.com; Received: from localhost (2620:10d:c090:200::6:701f) by BN6PR15MB1745.namprd15.prod.outlook.com (10.174.238.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Tue, 6 Jun 2017 17:00:58 +0000 Date: Tue, 6 Jun 2017 10:00:47 -0700 From: Dave Watson <davejwatson@fb.com> To: Ilya Lesokhin <ilyal@mellanox.com>, Aviad Yehezkel <aviadye@mellanox.com>, Boris Pismenny <borisp@mellanox.com>, Liran Liss <liranl@mellanox.com>, Matan Barak <matanb@mellanox.com>, David Miller <davem@davemloft.net>, <netdev@vger.kernel.org>, Tom Herbert <tom@herbertland.com>, <herbert@gondor.apana.org.au>, <linux-crypto@vger.kernel.org>, Hannes Frederic Sowa <hannes@stressinduktion.org>, Eric Dumazet <eric.dumazet@gmail.com> CC: Alexei Starovoitov <alexei.starovoitov@gmail.com>, <nmav@gnutls.org>, <fridolin.pokorny@gmail.com> Subject: [PATCH v2 net-next 2/4] tcp: export do_tcp_sendpages and tcp_rate_check_app_limited functions Message-ID: <20170606170047.GA19276@davejwatson-mba.local> References: <cover.1496767702.git.davejwatson@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <cover.1496767702.git.davejwatson@fb.com> User-Agent: Mutt/1.6.0 (2016-04-01) X-Originating-IP: [2620:10d:c090:200::6:701f] X-ClientProxiedBy: AM5PR0402CA0013.eurprd04.prod.outlook.com (10.175.37.23) To BN6PR15MB1745.namprd15.prod.outlook.com (10.174.238.135) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR15MB1745: X-MS-Office365-Filtering-Correlation-Id: 58d59e5b-c2f6-483e-30b5-08d4acfd9b2c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN6PR15MB1745; X-Microsoft-Exchange-Diagnostics: 1; BN6PR15MB1745; 3:A+7n/2k2ekkGCfb58wXBSkGFkUl/A6SilkIRmsjR+bz3DZY5ai0Pmu6SNJBrRe+oKxkEQtFq3vXsnS4Z6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ysu90t0ZD9kpdWNUl1Qi+GLlw0EMLmy5q2hHZ/FuZ8rNlS/XCJoDa6BQZMdaGekzXaWs+PV8iL43FXPBzdXeYXVq1O06QAcDHcQF+aSJzNprdSwa/PliLVwUlIeRIRmp90+eu6pDr2uF1T6D4bGgrnyAGLVlpqtrhmzdybie2wwtoOPcWwATGNyae1Lji1qFN611auRaP7hx8Gr5ALlCkePWrG4w7YWp4UefQzjZ+4wXaV97ss0R6EOg4kjmDWYGqUJm/mNVrpxgQa3NhHZgejMgs5mSseCPN4+ZKz0Seq4xIchcIaCzfXeOSwmNUo9FUDY5IFPKRem+mLCQOCNpJNZJiAE2wKcncTILemed5V1DELFYfYFw2a9fKgdTeUotP5a+kCpls6Bn2unugH6l1p0OZ1OYSvxqj6AvEGXDhrNkPE3KT7w/kw3pLdvDJjRQCSS+uSdv98lJUAodzFy6gg7cp08AaicsElnuhuMT+ X-Microsoft-Antispam-PRVS: <BN6PR15MB174563743643FD97EAC82702DDCB0@BN6PR15MB1745.namprd15.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(266576461109395); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR15MB1745; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR15MB1745; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR15MB1745; 4:nk9Xjpu6vb24enoW2Gtaon3y96fXxDZryKNRL4rL6o?= =?us-ascii?Q?24o0u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TdrAu1lqHlD5zEBQ3jwXOEFKV?= =?us-ascii?Q?mIbrqEcMbNxU5DGaPjUZZ1a7hUl4yieT8wbvVyWddFbzByyR2biXTHFuQxTt?= =?us-ascii?Q?XTSkKZa7ns1dio+pzoomdkjnZhMzC1U/Luxnn6hXxjDMjmaQhmb2TnbwAidj?= =?us-ascii?Q?Sz2RyHAfRTpxTaM7X01psZKsFaBq034fkcokW8yJLnj8P94NI8TIoxNUQ0bz?= =?us-ascii?Q?+8LBMkmsWq1FH1UjqcQ6HQN2WYIU7AFSM1cgmyn0jvlRJj4IbMIOwo9qfylo?= =?us-ascii?Q?0fXL3E+nuVIbZQlLEoDILgQXWGU5ANFPsgvcts8MUwSnfsbZzMsk6JOg=3D?= =?us-ascii?Q?=3D?= X-Forefront-PRVS: 033054F29A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6069001)(6009001)(39450400003)(39850400002)(39840400002)(39410400002)(39400400002)(38730400002)(4326008)(2906002)(6496005)(33656002)(54356999)(50986999)(76176999)(98436002)(478600001)(83506001)(6116002)(23726003)(25786009)(81166006)(1076002)(5660300001)(42186005)(7736002)(76506005)(53936002)(6486002)(7416002)(8676002)(305945005)(6666003)(47776003)(189998001)(86362001)(4001350100001)(2950100002)(9686003)(18370500001)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR15MB1745; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR15MB1745; 23:+XBTfyoYL9+SkoLrujjeD0QMz3y/xz7NZhhq5MBiZ?= =?us-ascii?Q?WedwvdBMS5Uf8DwxZ8rttv6EWb/383xI3hOQXC0J10d4bQIEBSdvszBD8vv3?= =?us-ascii?Q?wnweVlZ5qNKIj7a7S9vOJWwzOMeyKzIH6o439AKZ0Wtw+B7fvWjXv+3d4wEe?= =?us-ascii?Q?aIsH87vB0U7aHhENTe6KZqNbWSUxIOxMABG7ixaebvW075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cSZGRBhmeepg56fH3XIR+TOCcEQFms8uCeD/TtKr4pV7x7dWft2MmYOLcz; 24:IFj6sG8SDGufanptS9ROkaEunM1qBuyYysaX/AkA2ZOSL6cGTYEl2PBuXIfNuNj2wwujY/pt0EfPVmBKgq12X6dzgRKXP4ekd4xmP5+1jic= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR15MB1745; 7:7Jh+r4OenGQnWSvuRgBQY/8fez7UGNVUQpPPcOQvwmhol14D7xqtnFh+rQ2oWI15wVf+Ami7K0Fj/+gC2CTKR/knK0TPErYKDB0XmI9sySqxqfMNkgBTpkg2PONES2706ieOebTPeKXGbEfZqlkNEIVxac5oqmrU43OfABSkwWVBtaB3P5xH8OdaIYI7hrUUPWd/QVb9oiMimES7aGQX8Ae0LpSSZV82XatVQfQh8IDU4RWx5oC1Dbi4NbdE4DNn5Y9sr9rSCJDZIkqi61P/XODde0h11AVuM7DJ2XKxK20eO671Uc3gP0oqiNT2TXDSuPaIE+Vb50p6XPGt81P5cw==; 20:ns8pbvR3FiA0Gd5MG0Ep4U9joIiSYtonlv3sm4A+3KxphRIdhQeAuMEH5BL7Qd3yzR7xjKVBIWJsRwcVUR/4SOhtVt2tSVrvuyUPXguARnVcfVQf99pFtUzXXaol5ueyb4FFxoCxh8Z/sE6Rkh09BjI6Cwi0TrE671tWnQhdwuI= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 17:00:58.9900 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR15MB1745 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-06_12:, , signatures=0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/net/tcp.h b/include/net/tcp.h index fcc39f8..2b35100 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -353,6 +353,8 @@ int tcp_v4_tw_remember_stamp(struct inet_timewait_sock *tw); int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size); int tcp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags); +ssize_t do_tcp_sendpages(struct sock *sk, struct page *page, int offset, + size_t size, int flags); void tcp_release_cb(struct sock *sk); void tcp_wfree(struct sk_buff *skb); void tcp_write_timer_handler(struct sock *sk); diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 0aa72cd..70efada 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -882,8 +882,8 @@ static int tcp_send_mss(struct sock *sk, int *size_goal, int flags) return mss_now; } -static ssize_t do_tcp_sendpages(struct sock *sk, struct page *page, int offset, - size_t size, int flags) +ssize_t do_tcp_sendpages(struct sock *sk, struct page *page, int offset, + size_t size, int flags) { struct tcp_sock *tp = tcp_sk(sk); int mss_now, size_goal; @@ -1013,6 +1013,7 @@ static ssize_t do_tcp_sendpages(struct sock *sk, struct page *page, int offset, } return sk_stream_error(sk, flags, err); } +EXPORT_SYMBOL_GPL(do_tcp_sendpages); int tcp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags) diff --git a/net/ipv4/tcp_rate.c b/net/ipv4/tcp_rate.c index ad99569..3330a37 100644 --- a/net/ipv4/tcp_rate.c +++ b/net/ipv4/tcp_rate.c @@ -185,3 +185,4 @@ void tcp_rate_check_app_limited(struct sock *sk) tp->app_limited = (tp->delivered + tcp_packets_in_flight(tp)) ? : 1; } +EXPORT_SYMBOL_GPL(tcp_rate_check_app_limited);