]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r260871:
authoradrian <adrian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Feb 2014 06:29:05 +0000 (06:29 +0000)
committeradrian <adrian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Feb 2014 06:29:05 +0000 (06:29 +0000)
commita6928a0bd61db4cf7a11a3d35e8385fc0ad85f19
treeef9e8815b04a812907b5970edeb46939aa3ee087
parenta8ddde299b1ae92b4cd49ca18d6a7d1f9362b1a0
MFC r260871:

  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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@261705 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_syncache.c