tcp: fix zero rwnd sent check
Type:fix Change-Id: I1e6f2cb28c1bf544cc3d060b11c8935f9edb0eed Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:

committed by
Dave Barach

parent
6595ff7f88
commit
d1ba3d2577
@ -457,7 +457,7 @@ tcp_cong_recovery_off (tcp_connection_t * tc)
|
||||
tcp_fastrecovery_first_off (tc);
|
||||
}
|
||||
|
||||
#define tcp_zero_rwnd_sent(tc) (tc)->flags &= TCP_CONN_ZERO_RWND_SENT
|
||||
#define tcp_zero_rwnd_sent(tc) ((tc)->flags & TCP_CONN_ZERO_RWND_SENT)
|
||||
#define tcp_zero_rwnd_sent_on(tc) (tc)->flags |= TCP_CONN_ZERO_RWND_SENT
|
||||
#define tcp_zero_rwnd_sent_off(tc) (tc)->flags &= ~TCP_CONN_ZERO_RWND_SENT
|
||||
|
||||
|
Reference in New Issue
Block a user