diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index cf06accbe687..4a8c96cdec7d 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -4230,6 +4230,8 @@ static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, | |||
4230 | mb(); | 4230 | mb(); |
4231 | tcp_set_state(sk, TCP_ESTABLISHED); | 4231 | tcp_set_state(sk, TCP_ESTABLISHED); |
4232 | 4232 | ||
4233 | security_inet_conn_established(sk, skb); | ||
4234 | |||
4233 | /* Make sure socket is routed, for correct metrics. */ | 4235 | /* Make sure socket is routed, for correct metrics. */ |
4234 | icsk->icsk_af_ops->rebuild_header(sk); | 4236 | icsk->icsk_af_ops->rebuild_header(sk); |
4235 | 4237 | ||