aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2015-04-07 21:26:18 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-07 22:24:37 -0400
commit8bc0034cf6951a107e0c75c2d10b17b57d681229 (patch)
tree77438f3a4e0deb2d11c1402315776fb96fabaaae /net/ipv4/udp.c
parentee90b81203a91d4e5385622811ee7872b5bcfe76 (diff)
net: remove extra newlines
Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 2162fc6ce1c1..d10b7e0112eb 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -433,7 +433,6 @@ static u32 udp_ehashfn(const struct net *net, const __be32 laddr,
433 udp_ehash_secret + net_hash_mix(net)); 433 udp_ehash_secret + net_hash_mix(net));
434} 434}
435 435
436
437/* called with read_rcu_lock() */ 436/* called with read_rcu_lock() */
438static struct sock *udp4_lib_lookup2(struct net *net, 437static struct sock *udp4_lib_lookup2(struct net *net,
439 __be32 saddr, __be16 sport, 438 __be32 saddr, __be16 sport,
@@ -1171,7 +1170,6 @@ out:
1171 return ret; 1170 return ret;
1172} 1171}
1173 1172
1174
1175/** 1173/**
1176 * first_packet_length - return length of first packet in receive queue 1174 * first_packet_length - return length of first packet in receive queue
1177 * @sk: socket 1175 * @sk: socket
@@ -1355,7 +1353,6 @@ csum_copy_err:
1355 goto try_again; 1353 goto try_again;
1356} 1354}
1357 1355
1358
1359int udp_disconnect(struct sock *sk, int flags) 1356int udp_disconnect(struct sock *sk, int flags)
1360{ 1357{
1361 struct inet_sock *inet = inet_sk(sk); 1358 struct inet_sock *inet = inet_sk(sk);
@@ -1579,7 +1576,6 @@ int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
1579 udp_lib_checksum_complete(skb)) 1576 udp_lib_checksum_complete(skb))
1580 goto csum_error; 1577 goto csum_error;
1581 1578
1582
1583 if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) { 1579 if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) {
1584 UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_RCVBUFERRORS, 1580 UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_RCVBUFERRORS,
1585 is_udplite); 1581 is_udplite);
@@ -1609,7 +1605,6 @@ drop:
1609 return -1; 1605 return -1;
1610} 1606}
1611 1607
1612
1613static void flush_stack(struct sock **stack, unsigned int count, 1608static void flush_stack(struct sock **stack, unsigned int count,
1614 struct sk_buff *skb, unsigned int final) 1609 struct sk_buff *skb, unsigned int final)
1615{ 1610{