Skip to content

Commit 3cf3dc6

Browse files
Arnaldo Carvalho de MeloDavid S. Miller
authored andcommitted
[IPV6]: Export some symbols for DCCPv6
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0fa1a53 commit 3cf3dc6

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

net/ipv6/af_inet6.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ int inet6_destroy_sock(struct sock *sk)
389389
return 0;
390390
}
391391

392+
EXPORT_SYMBOL_GPL(inet6_destroy_sock);
393+
392394
/*
393395
* This does both peername and sockname.
394396
*/

net/ipv6/exthdrs.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,8 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr)
413413
return opt;
414414
}
415415

416+
EXPORT_SYMBOL_GPL(ipv6_invert_rthdr);
417+
416418
/**********************************
417419
Hop-by-hop options.
418420
**********************************/
@@ -579,6 +581,8 @@ ipv6_dup_options(struct sock *sk, struct ipv6_txoptions *opt)
579581
return opt2;
580582
}
581583

584+
EXPORT_SYMBOL_GPL(ipv6_dup_options);
585+
582586
static int ipv6_renew_option(void *ohdr,
583587
struct ipv6_opt_hdr __user *newopt, int newoptlen,
584588
int inherit,

net/ipv6/ip6_flowlabel.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ struct ip6_flowlabel * fl6_sock_lookup(struct sock *sk, u32 label)
200200
return NULL;
201201
}
202202

203+
EXPORT_SYMBOL_GPL(fl6_sock_lookup);
204+
203205
void fl6_free_socklist(struct sock *sk)
204206
{
205207
struct ipv6_pinfo *np = inet6_sk(sk);

net/ipv6/ip6_output.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,8 @@ int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi *fl)
775775
return err;
776776
}
777777

778+
EXPORT_SYMBOL_GPL(ip6_dst_lookup);
779+
778780
static inline int ip6_ufo_append_data(struct sock *sk,
779781
int getfrag(void *from, char *to, int offset, int len,
780782
int odd, struct sk_buff *skb),

0 commit comments

Comments
 (0)