Skip to content

Commit

Permalink
l2tp: static functions should not be exported
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
sfrothwell authored and davem330 committed Oct 25, 2010
1 parent fd59cba commit e341b2d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/l2tp/l2tp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,6 @@ static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb,

return 1;
}
EXPORT_SYMBOL_GPL(l2tp_udp_recv_core);

/* UDP encapsulation receive handler. See net/ipv4/udp.c.
* Return codes:
Expand Down Expand Up @@ -1003,7 +1002,6 @@ static int l2tp_xmit_core(struct l2tp_session *session, struct sk_buff *skb,

return 0;
}
EXPORT_SYMBOL_GPL(l2tp_xmit_core);

/* Automatically called when the skb is freed.
*/
Expand Down Expand Up @@ -1225,7 +1223,6 @@ static void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel)
}
write_unlock_bh(&tunnel->hlist_lock);
}
EXPORT_SYMBOL_GPL(l2tp_tunnel_closeall);

/* Really kill the tunnel.
* Come here only when all sessions have been cleared from the tunnel.
Expand Down

0 comments on commit e341b2d

Please sign in to comment.