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:
parent
3beb7cb4f1
commit
c83514f128
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user