diff options
author | rrs <rrs@FreeBSD.org> | 2007-06-18 21:59:15 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2007-06-18 21:59:15 +0000 |
commit | ef68a809b7e95e2e282dc724412946628ba3f050 (patch) | |
tree | 9bf3eff1f9fee89ae7a0a1d65d0854acf3216437 /sys/netinet/sctp_indata.c | |
parent | d1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b (diff) | |
download | FreeBSD-src-ef68a809b7e95e2e282dc724412946628ba3f050.zip FreeBSD-src-ef68a809b7e95e2e282dc724412946628ba3f050.tar.gz |
- Fixes cstatic issues found by cisco sa tool (missing frees and such
on error legs)
- align sctp_sockstore to 64 bit boundary ..
Diffstat (limited to 'sys/netinet/sctp_indata.c')
-rw-r--r-- | sys/netinet/sctp_indata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_indata.c b/sys/netinet/sctp_indata.c index 4824e40..bb6d667 100644 --- a/sys/netinet/sctp_indata.c +++ b/sys/netinet/sctp_indata.c @@ -3532,7 +3532,7 @@ sctp_strike_gap_ack_chunks(struct sctp_tcb *stcb, struct sctp_association *asoc, /* fix counts and things */ if (sctp_logging_level & SCTP_FLIGHT_LOGGING_ENABLE) { sctp_misc_ints(SCTP_FLIGHT_LOG_DOWN_RSND, - tp1->whoTo->flight_size, + (tp1->whoTo ? (tp1->whoTo->flight_size) : 0), tp1->book_size, (uintptr_t) tp1->whoTo, tp1->rec.data.TSN_seq); |