aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 0bf5d399a03c..93b731d53221 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -799,7 +799,7 @@ send:
799/* 799/*
800 * Push out all pending data as one UDP datagram. Socket is locked. 800 * Push out all pending data as one UDP datagram. Socket is locked.
801 */ 801 */
802static int udp_push_pending_frames(struct sock *sk) 802int udp_push_pending_frames(struct sock *sk)
803{ 803{
804 struct udp_sock *up = udp_sk(sk); 804 struct udp_sock *up = udp_sk(sk);
805 struct inet_sock *inet = inet_sk(sk); 805 struct inet_sock *inet = inet_sk(sk);
@@ -818,6 +818,7 @@ out:
818 up->pending = 0; 818 up->pending = 0;
819 return err; 819 return err;
820} 820}
821EXPORT_SYMBOL(udp_push_pending_frames);
821 822
822int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, 823int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
823 size_t len) 824 size_t len)