tcp: (whitespace only) fix confusing indentation
The indentation in part of tcp_minisocks makes it look like one of the if statements is much more important than it actually is. Signed-off-by: Adam Langley <agl@imperialviolet.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
827ebd6410
commit
2aaab9a0cc
@@ -653,8 +653,7 @@ struct sock *tcp_check_req(struct sock *sk,struct sk_buff *skb,
|
|||||||
* ESTABLISHED STATE. If it will be dropped after
|
* ESTABLISHED STATE. If it will be dropped after
|
||||||
* socket is created, wait for troubles.
|
* socket is created, wait for troubles.
|
||||||
*/
|
*/
|
||||||
child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb,
|
child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL);
|
||||||
req, NULL);
|
|
||||||
if (child == NULL)
|
if (child == NULL)
|
||||||
goto listen_overflow;
|
goto listen_overflow;
|
||||||
#ifdef CONFIG_TCP_MD5SIG
|
#ifdef CONFIG_TCP_MD5SIG
|
||||||
@@ -674,8 +673,7 @@ struct sock *tcp_check_req(struct sock *sk,struct sk_buff *skb,
|
|||||||
if (newkey) {
|
if (newkey) {
|
||||||
if (!tcp_alloc_md5sig_pool())
|
if (!tcp_alloc_md5sig_pool())
|
||||||
BUG();
|
BUG();
|
||||||
tp->af_specific->md5_add(child, child,
|
tp->af_specific->md5_add(child, child, newkey,
|
||||||
newkey,
|
|
||||||
key->keylen);
|
key->keylen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -688,13 +686,13 @@ struct sock *tcp_check_req(struct sock *sk,struct sk_buff *skb,
|
|||||||
inet_csk_reqsk_queue_add(sk, req, child);
|
inet_csk_reqsk_queue_add(sk, req, child);
|
||||||
return child;
|
return child;
|
||||||
|
|
||||||
listen_overflow:
|
listen_overflow:
|
||||||
if (!sysctl_tcp_abort_on_overflow) {
|
if (!sysctl_tcp_abort_on_overflow) {
|
||||||
inet_rsk(req)->acked = 1;
|
inet_rsk(req)->acked = 1;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
embryonic_reset:
|
embryonic_reset:
|
||||||
NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_EMBRYONICRSTS);
|
NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_EMBRYONICRSTS);
|
||||||
if (!(flg & TCP_FLAG_RST))
|
if (!(flg & TCP_FLAG_RST))
|
||||||
req->rsk_ops->send_reset(sk, skb);
|
req->rsk_ops->send_reset(sk, skb);
|
||||||
|
|||||||
Reference in New Issue
Block a user