ipv4: export ip_flush_pending_frames
authorJames Chapman <jchapman@katalix.com>
Mon, 29 Jul 2024 15:38:01 +0000 (16:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2024 08:25:12 +0000 (09:25 +0100)
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>
net/ipv4/ip_output.c

index b90d0f78ac8080f6e5aba2382b11075253f85d61..8a10a7c67834fe870d01ce850ebeacc72120f180 100644 (file)
@@ -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,