diff options
author | andre <andre@FreeBSD.org> | 2007-03-23 18:33:21 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2007-03-23 18:33:21 +0000 |
commit | 8057f896948e710b7ef3c79a9ff199364c0ae084 (patch) | |
tree | 0ddae26d2fdc1f3b0685d969c22daa231415b91a /sys/netinet/tcp_sack.c | |
parent | 55f67dd8da67ce2dfbeef5af920c854ef0469b87 (diff) | |
download | FreeBSD-src-8057f896948e710b7ef3c79a9ff199364c0ae084.zip FreeBSD-src-8057f896948e710b7ef3c79a9ff199364c0ae084.tar.gz |
Bring SACK option handling in tcp_dooptions() in line with all other
options and ajust users accordingly.
Diffstat (limited to 'sys/netinet/tcp_sack.c')
-rw-r--r-- | sys/netinet/tcp_sack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c index dca7cd4..39aa87a 100644 --- a/sys/netinet/tcp_sack.c +++ b/sys/netinet/tcp_sack.c @@ -371,6 +371,7 @@ tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) int i, j, num_sack_blks; INP_LOCK_ASSERT(tp->t_inpcb); + KASSERT(to->to_flags & TOF_SACK, ("%s: SACK invalid", __func__)); num_sack_blks = 0; /* |