summaryrefslogtreecommitdiff
path: root/server/TetherControllerTest.cpp
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2017-06-29 19:27:43 -0700
committerLuis Hector Chavez <lhchavez@google.com>2017-07-18 12:56:43 -0700
commit3c349ac620c346a9bdb1e062fc49e76f2087e18b (patch)
treea0b87045c21aa1a6829809d7b875174205cff26f /server/TetherControllerTest.cpp
parent2eaed9368eedb97549b5f52dacfa50686b596ab2 (diff)
Try using SO_RCVBUF if SO_RCVBUFFORCE fails
When running in a container, the process might not have the CAP_NET_ADMIN capability, which would cause setting the SO_RCVBUFFORCE socket option to fail. But rmem_max is set to a high enough value which allows SO_RCVBUF to succeed. This patch tries with SO_RCVBUF after attempting to use SO_RCVBUFFORCE. Bug: 62417946 Test: netd no longer asserts Change-Id: I02c5f22ba7af62e8c5c5c8b176cea9aef89d84f8 (cherry picked from commit b41155d4af0e00fc6f65d7d67b80e7b866f847d6)
Diffstat (limited to 'server/TetherControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions