summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJames Chapman <jchapman@katalix.com>2024-07-29 17:38:01 +0200
committerDavid S. Miller <davem@davemloft.net>2024-07-31 10:25:12 +0200
commit4ff8863419cdc40f2c6e1ad99436e375b9b86b68 (patch)
tree53190fec0cfc5c4f65a6ee0d9fe74acb8fff0faa /net/ipv4
parentl2tp: lookup tunnel from socket without using sk_user_data (diff)
downloadlinux-4ff8863419cdc40f2c6e1ad99436e375b9b86b68.tar.xz
linux-4ff8863419cdc40f2c6e1ad99436e375b9b86b68.zip
ipv4: export ip_flush_pending_frames
To avoid protocol modules implementing their own, export ip_flush_pending_frames. Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/ip_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index b90d0f78ac80..8a10a7c67834 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -1534,6 +1534,7 @@ void ip_flush_pending_frames(struct sock *sk)
{
__ip_flush_pending_frames(sk, &sk->sk_write_queue, &inet_sk(sk)->cork.base);
}
+EXPORT_SYMBOL_GPL(ip_flush_pending_frames);
struct sk_buff *ip_make_skb(struct sock *sk,
struct flowi4 *fl4,