]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fixes an issue with handling of stream reset. When a
authorrrs <rrs@FreeBSD.org>
Thu, 9 Nov 2006 21:01:07 +0000 (21:01 +0000)
committerrrs <rrs@FreeBSD.org>
Thu, 9 Nov 2006 21:01:07 +0000 (21:01 +0000)
commit877f5726faf34aebaa270edd88c29882b0a0d104
tree8f3dfe7b55e5a3c1e8600adad0e4317d8330f21e
parent1b8790bd34bd25bd494197b1232690f171459ae4
Fixes an issue with handling of stream reset. When a
reset comes in we need to calculate the length and
therefore the number of listed streams (if any) based
on the TLV type. Otherwise if we get a retran we could
in theory panic by sending a notification to a user with
a incorrect list and thus no memory listing the streams.
Found in IOS by devtest :-)
Approved by: gnn
sys/netinet/sctp_input.c
sys/netinet/sctp_usrreq.c