summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-04-20 13:51:34 +0000
committerandre <andre@FreeBSD.org>2007-04-20 13:51:34 +0000
commit707a7006195c6c0989100a57e7cc70ded2ac57ff (patch)
treea49d8ce2b83617ba81374f679e958eb93d291d8c /sys/netinet/tcp_var.h
parente7ec21637e6dd18c3e21ba5798215a8f0754ff00 (diff)
downloadFreeBSD-src-707a7006195c6c0989100a57e7cc70ded2ac57ff.zip
FreeBSD-src-707a7006195c6c0989100a57e7cc70ded2ac57ff.tar.gz
Simplifly syncache_expand() and clarify its semantics. Zero is returned
when the ACK is invalid and doesn't belong to any registered connection, either in syncache or through SYN cookies. True but a NULL struct socket is returned when the 3WHS completed but the socket could not be created due to insufficient resources or limits reached. For both cases an RST is sent back in tcp_input(). A logic error leading to a panic is fixed where syncache_expand() would free the mbuf on socket allocation failure but tcp_input() later supplies it to tcp_dropwithreset() to issue a RST to the peer. Reported by: kris (the panic)
Diffstat (limited to 'sys/netinet/tcp_var.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud