summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/sctp6_usrreq.c
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-05-08 14:32:53 +0000
committerrrs <rrs@FreeBSD.org>2007-05-08 14:32:53 +0000
commit494599278742a1165b67db90d09111a09b94fdde (patch)
tree118f90542ed683b5fc2b1e91576d2fc62788dfd2 /sys/netinet6/sctp6_usrreq.c
parent99bfdc548a5093b3e2a573df1f917f1671f05f11 (diff)
downloadFreeBSD-src-494599278742a1165b67db90d09111a09b94fdde.zip
FreeBSD-src-494599278742a1165b67db90d09111a09b94fdde.tar.gz
- Static analyisis fixes for cisco's commit (this is equivilant
to the coverity tool.. may even be the same one.. not sure). - A bug in the way sctp_abort() and friends were setting the IP_CLOSE flag.. and NOT passing the last argument as a (,1)... so that things would get freed..
Diffstat (limited to 'sys/netinet6/sctp6_usrreq.c')
-rw-r--r--sys/netinet6/sctp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c
index d9c0890..9804571 100644
--- a/sys/netinet6/sctp6_usrreq.c
+++ b/sys/netinet6/sctp6_usrreq.c
@@ -223,7 +223,7 @@ sctp_skip_csum:
/* Length now holds the total packet length payload + iphlen */
length = ntohs(ip6->ip6_plen) + iphlen;
- (void)sctp_common_input_processing(&m, iphlen, offset, length, sh, ch,
+ sctp_common_input_processing(&m, iphlen, offset, length, sh, ch,
in6p, stcb, net, ecn_bits, vrf_id, table_id);
/* inp's ref-count reduced && stcb unlocked */
/* XXX this stuff below gets moved to appropriate parts later... */
OpenPOWER on IntegriCloud