diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index f7567a3698eb..1fa15beb8380 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -457,18 +457,6 @@ void tcp_init_sock(struct sock *sk) | |||
457 | } | 457 | } |
458 | EXPORT_SYMBOL(tcp_init_sock); | 458 | EXPORT_SYMBOL(tcp_init_sock); |
459 | 459 | ||
460 | void tcp_init_transfer(struct sock *sk, int bpf_op) | ||
461 | { | ||
462 | struct inet_connection_sock *icsk = inet_csk(sk); | ||
463 | |||
464 | tcp_mtup_init(sk); | ||
465 | icsk->icsk_af_ops->rebuild_header(sk); | ||
466 | tcp_init_metrics(sk); | ||
467 | tcp_call_bpf(sk, bpf_op, 0, NULL); | ||
468 | tcp_init_congestion_control(sk); | ||
469 | tcp_init_buffer_space(sk); | ||
470 | } | ||
471 | |||
472 | static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) | 460 | static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) |
473 | { | 461 | { |
474 | struct sk_buff *skb = tcp_write_queue_tail(sk); | 462 | struct sk_buff *skb = tcp_write_queue_tail(sk); |