Page MenuHomeFreeBSD

D5584.id14517.diff
No OneTemporary

D5584.id14517.diff

Index: head/sys/netinet/tcp_output.c
===================================================================
--- head/sys/netinet/tcp_output.c
+++ head/sys/netinet/tcp_output.c
@@ -1652,7 +1652,7 @@
int
tcp_addoptions(struct tcpopt *to, u_char *optp)
{
- u_int mask, optlen = 0;
+ u_int32_t mask, optlen = 0;
for (mask = 1; mask < TOF_MAXOPT; mask <<= 1) {
if ((to->to_flags & mask) != mask)
Index: head/sys/netinet/tcp_var.h
===================================================================
--- head/sys/netinet/tcp_var.h
+++ head/sys/netinet/tcp_var.h
@@ -364,7 +364,7 @@
* options in tcp_addoptions.
*/
struct tcpopt {
- u_int64_t to_flags; /* which options are present */
+ u_int32_t to_flags; /* which options are present */
#define TOF_MSS 0x0001 /* maximum segment size */
#define TOF_SCALE 0x0002 /* window scaling */
#define TOF_SACKPERM 0x0004 /* SACK permitted */

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 28, 11:57 PM (15 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32313107
Default Alt Text
D5584.id14517.diff (895 B)

Event Timeline