Skip to content

Commit

Permalink
ipv4: export ip_flush_pending_frames
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Chapman authored and David S. Miller committed Jul 31, 2024
1 parent 2e7a280 commit 4ff8863
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv4/ip_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4ff8863

Please sign in to comment.