Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2019 20:37:16 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353963 - head/sys/netinet6
Message-ID:  <201910232037.x9NKbGVI074600@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Oct 23 20:37:15 2019
New Revision: 353963
URL: https://svnweb.freebsd.org/changeset/base/353963

Log:
  frag6: whitespace changes
  
  Remove trailing white space, add a blank line, and compress a comment.
  No functional changes.
  
  MFC after:	10 days
  Sponsored by:	Netflix

Modified:
  head/sys/netinet6/frag6.c

Modified: head/sys/netinet6/frag6.c
==============================================================================
--- head/sys/netinet6/frag6.c	Wed Oct 23 19:35:26 2019	(r353962)
+++ head/sys/netinet6/frag6.c	Wed Oct 23 20:37:15 2019	(r353963)
@@ -106,7 +106,7 @@ VNET_DEFINE_STATIC(bool,		frag6_on);
 #define	V_frag6_on			VNET(frag6_on)
 #endif
 
-/* System wide (global) maximum and count of packets in reassembly queues. */ 
+/* System wide (global) maximum and count of packets in reassembly queues. */
 static int ip6_maxfrags;
 static volatile u_int frag6_nfrags = 0;
 
@@ -215,7 +215,7 @@ ip6_deletefraghdr(struct mbuf *m, int offset, int wait
 	if (m->m_len >= offset + sizeof(struct ip6_frag)) {
 
 		/* This is the only possible case with !PULLDOWN_TEST. */
-		ip6  = mtod(m, struct ip6_hdr *);
+		ip6 = mtod(m, struct ip6_hdr *);
 		bcopy(ip6, (char *)ip6 + sizeof(struct ip6_frag),
 		    offset);
 		m->m_data += sizeof(struct ip6_frag);
@@ -395,9 +395,7 @@ frag6_input(struct mbuf **mp, int *offp, int proto)
 		return (IPPROTO_DONE);
 #endif
 
-	/*
-	 * Store receive network interface pointer for later.
-	 */
+	/* Store receive network interface pointer for later. */
 	srcifp = m->m_pkthdr.rcvif;
 
 	dstifp = NULL;
@@ -598,7 +596,7 @@ frag6_input(struct mbuf **mp, int *offp, int proto)
 
 				/* Set a valid receive interface pointer. */
 				merr->m_pkthdr.rcvif = srcifp;
-				
+
 				/* Adjust pointer. */
 				ip6err = mtod(merr, struct ip6_hdr *);
 
@@ -697,6 +695,7 @@ insert:
 	frag6_enq(ip6af, af6->ip6af_up, bucket);
 	atomic_add_int(&frag6_nfrags, 1);
 	q6->ip6q_nfrag++;
+
 	plen = 0;
 	for (af6 = q6->ip6q_down; af6 != (struct ip6asfrag *)q6;
 	     af6 = af6->ip6af_down) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910232037.x9NKbGVI074600>