]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFstable/11 r334730
authortuexen <tuexen@FreeBSD.org>
Wed, 6 Jun 2018 21:23:42 +0000 (21:23 +0000)
committertuexen <tuexen@FreeBSD.org>
Wed, 6 Jun 2018 21:23:42 +0000 (21:23 +0000)
commit4daa07d50f5f3b9af01232d9ead0906799fb73b1
treec1e7b0a2401f0b8114b5487a716311b436c8e268
parentf90d0f3cb50b1bddc63b9cd245411fce75456097
MFstable/11 r334730

Ensure net.inet.tcp.syncache.rexmtlimit is limited by TCP_MAXRXTSHIFT.

If the sysctl variable is set to a value larger than TCP_MAXRXTSHIFT+1,
the array tcp_syn_backoff[] is accessed out of bounds.

Discussed with: jtl@
Approved by: re (gjb)
Sponsored by: Netflix, Inc.
sys/netinet/tcp_syncache.c