]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a KASSERT() in tcp_output().
authortuexen <tuexen@FreeBSD.org>
Sat, 23 Mar 2019 09:56:41 +0000 (09:56 +0000)
committertuexen <tuexen@FreeBSD.org>
Sat, 23 Mar 2019 09:56:41 +0000 (09:56 +0000)
commit202ab2ae5b2d6a47215c34766f260d114a7dd80d
tree6185c0694659f885fe4ef45f37c55568e421dc5a
parent63050415037a45771764433eeca5ce2f36da6622
Fix a KASSERT() in tcp_output().

When checking the length of the headers at this point, the IP level
options have not been added to the mbuf chain.
So don't take them into account.

Reported by: syzbot+16025fff7ee5f7c5957b@syzkaller.appspotmail.com
Reported by: syzbot+adb5836b8a9ff621b2aa@syzkaller.appspotmail.com
Reported by: syzbot+d25a5352bcdf40acdbb8@syzkaller.appspotmail.com
Reviewed by: rrs@
MFC after: 3 days
Sponsored by: Netflix, Inc.
sys/netinet/tcp_output.c