Skip to content

Commit fca23f3

Browse files
edumazetkuba-moo
authored andcommitted
inet: do not export inet_gro_{receive|complete}
inet_gro_receive() and inet_gro_complete() are part of GRO engine which can not be modular. Similarly, inet_gso_segment() does not need to be exported, being part of GSO stack. In other words, net/ipv6/ip6_offload.o is part of vmlinux, regardless of CONFIG_IPV6. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 0256317 commit fca23f3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

net/ipv4/af_inet.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,6 @@ struct sk_buff *inet_gso_segment(struct sk_buff *skb,
14191419
out:
14201420
return segs;
14211421
}
1422-
EXPORT_SYMBOL(inet_gso_segment);
14231422

14241423
static struct sk_buff *ipip_gso_segment(struct sk_buff *skb,
14251424
netdev_features_t features)
@@ -1550,7 +1549,6 @@ struct sk_buff *inet_gro_receive(struct list_head *head, struct sk_buff *skb)
15501549

15511550
return pp;
15521551
}
1553-
EXPORT_SYMBOL(inet_gro_receive);
15541552

15551553
static struct sk_buff *ipip_gro_receive(struct list_head *head,
15561554
struct sk_buff *skb)
@@ -1636,7 +1634,6 @@ int inet_gro_complete(struct sk_buff *skb, int nhoff)
16361634

16371635
return err;
16381636
}
1639-
EXPORT_SYMBOL(inet_gro_complete);
16401637

16411638
static int ipip_gro_complete(struct sk_buff *skb, int nhoff)
16421639
{

0 commit comments

Comments
 (0)