summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/isp
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>1999-08-25 15:23:12 +0000
committeritojun <itojun@NetBSD.org>1999-08-25 15:23:12 +0000
commit809ab7f1ffb9316ed886ca68802b22ac13795d7c (patch)
tree31b3926a9e40bd8847f4fc4783453588af033e1d /sys/dev/microcode/isp
parent197579af475ce4b604283ed2626f786d51ef2b4f (diff)
When listening socket goes away, remove assockated syn cache entires.
Stale syn cache entries are useless because none of them will be used if there is no listening socket, as tcp_input looks up listening socket by in_pcblookup*() before looking into syn cache. This fixes race condition due to dangling socket pointer from syn cache entries to listening socket (this was introduced when ipsec is merged in). This should preserve currently implemented behavior (but not 4.4BSD behavior prior to syn cache). Tested in KAME repository before commit, but we'd better run some regression tests.
Diffstat (limited to 'sys/dev/microcode/isp')
0 files changed, 0 insertions, 0 deletions