summaryrefslogtreecommitdiffstats
path: root/ring.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some clatd cloexec and file descriptor leaking via missing close()Maciej Żenczykowski2019-05-021-1/+1
| | | | | | | | | | | | | | | Not terribly important since clatd doesn't exec anything, but was muddying the waters while I was searching for other fd-survives-across-exec leakage in netd. While at it also fix another leaked fd which we forgot to close(). Test: builds and boots Bug: 131268436 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Iceb7d4052dc9be29db5c7bb3fe2ee27da7864379 Merged-In: Iceb7d4052dc9be29db5c7bb3fe2ee27da7864379 (cherry picked from commit 60bce378cfa29463f57756fc724d1572747f4fc5)
* Re-indent clatd code with clang-formatjunyulai2018-12-111-23/+23
| | | | | | | | | | | clang-format --style file -i *.{c,h,cpp} Bug: 118848635 Test: 1. browse over ipv6-only network 2. atest clatd_test 3. clang-format --style file -i *.{c,h,cpp} Change-Id: I7389426101df7745370d0ac5c55176cd8fe2b08b
* Switch the receive path to memory-mapped I/O with PACKET_RX_RING.Lorenzo Colitti2015-02-031-0/+126
Change-Id: I93231de8f108db782eaa43aceb6cc5281d3739c4