Skip to content
  • Randall Stewart's avatar
    tcp: Incorrect KASSERT causes a panic in rack · 02cffbc2
    Randall Stewart authored
    Skyzall found an interesting panic in rack. When a SYN and FIN are
    both sent together a KASSERT gets tripped where it is validating that
    a mbuf pointer is in the sendmap. But a SYN and FIN often will not
    have a mbuf pointer. So the fix is two fold a) make sure that the
    SYN and FIN split the right way when cloning an RSM SYN on left
    edge and FIN on right. And also make sure the KASSERT properly
    accounts for the case that we have a SYN or FIN so we don't
    panic.
    
    Reviewed by: mtuexen
    Sponsored by: Netflix Inc.
    Differential Revision:	https://reviews.freebsd.org/D30241
    02cffbc2