HomeFreeBSD

If the flowid is available for the mbuf that finalised the creation

Description

If the flowid is available for the mbuf that finalised the creation
of a syncache connection, copy it into the inp_flowid field.

Without this, an incoming TCP connection won't have an inp_flowid marked
until some data comes in, and this means that things like the per-CPU
TCP timer option will choose a different CPU for the timer work.
(It also means that if one grabbed the flowid via an ioctl from userland,
it won't be available until some data has been received.)

Sponsored by: Netflix, Inc.

Details

Provenance
adrianAuthored on Jan 18 2014, 11:48 PM
Parents
rG95fbe4d0cc69: Simplify filling sockaddr_dl structure for if_resolvemulti()
Branches
Unknown
Tags
Unknown

Event Timeline