tuexen 5f6d43232d RFC 7112 requires a host to put the complete IP header chain
including the TCP header in the first IP packet.
Enforce this in tcp_output(). In addition make sure that at least
one byte payload fits in the TCP segement to allow making progress.
Without this check, a kernel with INVARIANTS will panic.
This issue was found by running an instance of syzkaller.

Reviewed by:		jtl@
MFC after:		3 days
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D21665
2019-09-29 10:45:13 +00:00
..
2019-08-02 22:43:09 +00:00
2019-08-02 07:41:36 +00:00
2018-05-29 12:32:08 +00:00
2019-08-08 11:43:09 +00:00
2018-07-01 08:37:07 +00:00
2019-04-22 19:36:19 +00:00
2018-07-01 08:37:07 +00:00
2018-09-18 10:53:07 +00:00
2019-09-24 13:15:24 +00:00
2019-09-01 10:39:16 +00:00
2019-08-31 13:13:40 +00:00
2019-08-02 07:41:36 +00:00
2018-05-19 05:56:21 +00:00
2019-09-06 18:33:39 +00:00
2018-07-31 22:56:03 +00:00