Skip to content

Commit

Permalink
net:ipv6:fixed space issues relating to operators.
Browse files Browse the repository at this point in the history
Fixed space issues relating to operators found by
checkpatch.pl tool in net/ipv6/udp.c

Signed-off-by: Jeffrin Jose <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ahiliation authored and davem330 committed May 19, 2012
1 parent 9a52e97 commit 3dde259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv6/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,
bool slow;

if (addr_len)
*addr_len=sizeof(struct sockaddr_in6);
*addr_len = sizeof(struct sockaddr_in6);

if (flags & MSG_ERRQUEUE)
return ipv6_recv_error(sk, msg, len);
Expand Down Expand Up @@ -1379,7 +1379,7 @@ static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb,
* do checksum of UDP packets sent as multiple IP fragments.
*/
offset = skb_checksum_start_offset(skb);
csum = skb_checksum(skb, offset, skb->len- offset, 0);
csum = skb_checksum(skb, offset, skb->len - offset, 0);
offset += skb->csum_offset;
*(__sum16 *)(skb->data + offset) = csum_fold(csum);
skb->ip_summed = CHECKSUM_NONE;
Expand Down

0 comments on commit 3dde259

Please sign in to comment.