diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-10-25 01:26:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-25 01:26:41 -0400 |
commit | e341b2ddc1e8e5ff998ac5462dc5138775d1d492 (patch) | |
tree | d4fc3fe014017d10f0b5e5c55c4e884f09e5decf /net | |
parent | fd59cba4f0d80a6dc4cc7372f03af905b1758e03 (diff) |
l2tp: static functions should not be exported
Causes these build failures on PowerPC:
net/l2tp/l2tp_core.c:1228: error: __ksymtab_l2tp_tunnel_closeall causes a section type conflict
net/l2tp/l2tp_core.c:1228: error: __ksymtab_l2tp_tunnel_closeall causes a section type conflict
net/l2tp/l2tp_core.c:1006: error: __ksymtab_l2tp_xmit_core causes a section type conflict
net/l2tp/l2tp_core.c:1006: error: __ksymtab_l2tp_xmit_core causes a section type conflict
net/l2tp/l2tp_core.c:847: error: __ksymtab_l2tp_udp_recv_core causes a section type conflict
net/l2tp/l2tp_core.c:847: error: __ksymtab_l2tp_udp_recv_core causes a section type conflict
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/l2tp/l2tp_core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 5fb4803baf25..c64ce0a0bb03 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c | |||
@@ -844,7 +844,6 @@ error: | |||
844 | 844 | ||
845 | return 1; | 845 | return 1; |
846 | } | 846 | } |
847 | EXPORT_SYMBOL_GPL(l2tp_udp_recv_core); | ||
848 | 847 | ||
849 | /* UDP encapsulation receive handler. See net/ipv4/udp.c. | 848 | /* UDP encapsulation receive handler. See net/ipv4/udp.c. |
850 | * Return codes: | 849 | * Return codes: |
@@ -1003,7 +1002,6 @@ static int l2tp_xmit_core(struct l2tp_session *session, struct sk_buff *skb, | |||
1003 | 1002 | ||
1004 | return 0; | 1003 | return 0; |
1005 | } | 1004 | } |
1006 | EXPORT_SYMBOL_GPL(l2tp_xmit_core); | ||
1007 | 1005 | ||
1008 | /* Automatically called when the skb is freed. | 1006 | /* Automatically called when the skb is freed. |
1009 | */ | 1007 | */ |
@@ -1225,7 +1223,6 @@ again: | |||
1225 | } | 1223 | } |
1226 | write_unlock_bh(&tunnel->hlist_lock); | 1224 | write_unlock_bh(&tunnel->hlist_lock); |
1227 | } | 1225 | } |
1228 | EXPORT_SYMBOL_GPL(l2tp_tunnel_closeall); | ||
1229 | 1226 | ||
1230 | /* Really kill the tunnel. | 1227 | /* Really kill the tunnel. |
1231 | * Come here only when all sessions have been cleared from the tunnel. | 1228 | * Come here only when all sessions have been cleared from the tunnel. |