o Update tcp sendcookie stats. HEAD has a different code and does

not have this bug.

Submitted by:	Igor Sysoev
Reviewed by:	silby
This commit is contained in:
maxim 2007-09-28 17:39:45 +00:00
parent 3beb7cb4f1
commit c83514f128

View File

@ -1323,6 +1323,7 @@ syncookie_generate(struct syncache *sc, u_int32_t *flowid)
MD5Final((u_char *)&md5_buffer, &syn_ctx);
data ^= (md5_buffer[0] & ~SYNCOOKIE_WNDMASK);
*flowid = md5_buffer[1];
tcpstat.tcps_sc_sendcookie++;
return (data);
}