A couple of style fixes in recent TCP changes.

- Add a blank line before a block comment to match other block comments
  in the same function.
- Sort the prototype for sbsndptr_adv and fix whitespace between return
  type and function name.

Reviewed by:	gallatin, bz
Differential Revision:	https://reviews.freebsd.org/D17474
This commit is contained in:
John Baldwin 2018-10-22 21:17:36 +00:00
parent 642909fdfb
commit 74e10fb613
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339619
2 changed files with 2 additions and 2 deletions

View File

@ -895,6 +895,7 @@ tcp_output(struct tcpcb *tp)
len = max_len;
}
}
/*
* Prevent the last segment from being
* fractional unless the send sockbuf can be

View File

@ -165,10 +165,9 @@ int sbreserve_locked(struct sockbuf *sb, u_long cc, struct socket *so,
struct thread *td);
struct mbuf *
sbsndptr(struct sockbuf *sb, u_int off, u_int len, u_int *moff);
void sbsndptr_adv(struct sockbuf *sb, struct mbuf *mb, u_int len);
struct mbuf *
sbsndptr_noadv(struct sockbuf *sb, u_int off, u_int *moff);
void
sbsndptr_adv(struct sockbuf *sb, struct mbuf *mb, u_int len);
struct mbuf *
sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff);
int sbwait(struct sockbuf *sb);