aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJeffrin Jose <ahiliation@yahoo.co.in>2012-05-18 21:59:04 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-19 18:34:57 -0400
commit3dde25988292864a582b4a9389b1ae835aa3fe80 (patch)
tree885a73f939ed00c1dbef112f9bb6a41fe08d07d1 /net/ipv6
parent9a52e97e24d6da744e6c3332b8dd478a4974983e (diff)
net:ipv6:fixed space issues relating to operators.
Fixed space issues relating to operators found by checkpatch.pl tool in net/ipv6/udp.c Signed-off-by: Jeffrin Jose <ahiliation@yahoo.co.in> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 847253c0e544..f05099fc5901 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -349,7 +349,7 @@ int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,
349 bool slow; 349 bool slow;
350 350
351 if (addr_len) 351 if (addr_len)
352 *addr_len=sizeof(struct sockaddr_in6); 352 *addr_len = sizeof(struct sockaddr_in6);
353 353
354 if (flags & MSG_ERRQUEUE) 354 if (flags & MSG_ERRQUEUE)
355 return ipv6_recv_error(sk, msg, len); 355 return ipv6_recv_error(sk, msg, len);
@@ -1379,7 +1379,7 @@ static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb,
1379 * do checksum of UDP packets sent as multiple IP fragments. 1379 * do checksum of UDP packets sent as multiple IP fragments.
1380 */ 1380 */
1381 offset = skb_checksum_start_offset(skb); 1381 offset = skb_checksum_start_offset(skb);
1382 csum = skb_checksum(skb, offset, skb->len- offset, 0); 1382 csum = skb_checksum(skb, offset, skb->len - offset, 0);
1383 offset += skb->csum_offset; 1383 offset += skb->csum_offset;
1384 *(__sum16 *)(skb->data + offset) = csum_fold(csum); 1384 *(__sum16 *)(skb->data + offset) = csum_fold(csum);
1385 skb->ip_summed = CHECKSUM_NONE; 1385 skb->ip_summed = CHECKSUM_NONE;