|
|
@@ -800,7 +800,7 @@ static int udp_send_skb(struct sk_buff *skb, struct flowi4 *fl4)
|
|
|
/*
|
|
|
* Push out all pending data as one UDP datagram. Socket is locked.
|
|
|
*/
|
|
|
-static int udp_push_pending_frames(struct sock *sk)
|
|
|
+int udp_push_pending_frames(struct sock *sk)
|
|
|
{
|
|
|
struct udp_sock *up = udp_sk(sk);
|
|
|
struct inet_sock *inet = inet_sk(sk);
|
|
|
@@ -819,6 +819,7 @@ static int udp_push_pending_frames(struct sock *sk)
|
|
|
up->pending = 0;
|
|
|
return err;
|
|
|
}
|
|
|
+EXPORT_SYMBOL(udp_push_pending_frames);
|
|
|
|
|
|
int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
|
|
|
size_t len)
|