summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/task_test.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2021-06-04 14:25:21 -0700
committerKevin Krakauer <krakauer@google.com>2021-06-09 10:02:42 -0700
commit12973f6244bc84fb745f2ae9120a69ffc820ef70 (patch)
tree09c520ec24caaa2db70cebfaa766f66bd624d876 /pkg/sentry/kernel/task_test.go
parent240629524905024c7564d009cbc47c7b44064219 (diff)
Avoid fanout group collisions with best effort
Running multiple instances of netstack in the same network namespace can cause collisions when enabling packet fanout for fdbased endpoints. The only bulletproof fix is to run in different network namespaces, but by using `getpid()` instead of 0 as the fanout ID starting point we can avoid collisions in the common case, particularly when testing/experimenting. Addresses #6124
Diffstat (limited to 'pkg/sentry/kernel/task_test.go')
0 files changed, 0 insertions, 0 deletions