summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-06-13 21:24:44 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-06-13 21:24:44 +0000
commit88d86ab5cf5a292a5ed3e5003bfb8172d6787116 (patch)
treefdfebb072738d75bd7cbabf51ed63c09927d9c95 /gnu
parent6c049eef8f288bea7deaa6dc9bc2672f93802b3f (diff)
On localhost a user program may create a socket splicing loop.
After writing data into this loop, it was spinning forever causing a kernel hang. Detect the loop by counting how often the same mbuf is spliced. If that happens 128 times, assume that there is a loop and abort the splicing with ELOOP. Bug found by tedu@; OK tedu@ millert@ benno@
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions