From patchwork Wed Jan 15 00:31:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 310912 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 1E6152C0084 for ; Wed, 15 Jan 2014 11:31:59 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751829AbaAOAbv (ORCPT ); Tue, 14 Jan 2014 19:31:51 -0500 Received: from mail-gg0-f169.google.com ([209.85.161.169]:43301 "EHLO mail-gg0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751707AbaAOAbu (ORCPT ); Tue, 14 Jan 2014 19:31:50 -0500 Received: by mail-gg0-f169.google.com with SMTP id j5so314893ggn.14 for ; Tue, 14 Jan 2014 16:31:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type :content-transfer-encoding:mime-version; bh=uEQzadX8sOemWhVN464Mihkrhj3zAwYMI8OXdxpY2dI=; b=MfUsFCe+9b7z8Kg9VJX8ve7HhdxDfE1NIZLP1v5UguLpcDtZAIhM+eSw+Q3kaipcgK A+fouhjDZcMWvlVaojvT25PbAL4iEhNEsL2lQeRIusQpUYE28ncQABtHOgjFG330GHWh ttvoyaoq2CmF7+j7m7N11htoL61DkOm/HkTBBbzJUdGdio3t0XrFnykWP+beSjiUVnqa bel0iNaU8zqGrSYyC0o6sf+nOdAo0hpbkYDhCmuYqozUyMy8f2YkAUkyITuCBxnP3cm5 X3+9mfJ9RdBNxzgQCyxeekJhUoTQ36j49edmX3aUUbudGbrzB3erimWTD+935kYHbZWh P4FQ== X-Received: by 10.236.134.139 with SMTP id s11mr65333yhi.133.1389745908661; Tue, 14 Jan 2014 16:31:48 -0800 (PST) Received: from ?IPv6:2620:0:1000:3e02:95f6:ef4e:568d:996e? ([2620:0:1000:3e02:95f6:ef4e:568d:996e]) by mx.google.com with ESMTPSA id d7sm3426214yhd.24.2014.01.14.16.31.47 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 14 Jan 2014 16:31:48 -0800 (PST) Message-ID: <1389745906.31367.294.camel@edumazet-glaptop2.roam.corp.google.com> Subject: [PATCH net-next] tcp: do not export tcp_gso_segment() and tcp_gro_receive() From: Eric Dumazet To: David Miller Cc: netdev Date: Tue, 14 Jan 2014 16:31:46 -0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Eric Dumazet tcp_gso_segment() and tcp_gro_receive() no longer need to be exported. IPv4 and IPv6 offloads are statically linked. Note that tcp_gro_complete() is still used by bnx2x, unfortunately. Signed-off-by: Eric Dumazet --- net/ipv4/tcp_offload.c | 2 -- 1 file changed, 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/ipv4/tcp_offload.c b/net/ipv4/tcp_offload.c index 771a3950d87a..b92b81718ca4 100644 --- a/net/ipv4/tcp_offload.c +++ b/net/ipv4/tcp_offload.c @@ -138,7 +138,6 @@ struct sk_buff *tcp_gso_segment(struct sk_buff *skb, out: return segs; } -EXPORT_SYMBOL(tcp_gso_segment); struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb) { @@ -235,7 +234,6 @@ out: return pp; } -EXPORT_SYMBOL(tcp_gro_receive); int tcp_gro_complete(struct sk_buff *skb) {