Skip to content
Commit 3c0dc27a authored by Erik Kline's avatar Erik Kline
Browse files

Always close file descriptors

Every error thrown leaked a netlink NETFILTER socket.

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - enabled tethering and tried to cause conntrack updates to sessions
      that had expired (which causes ErrnoExceptions to be thrown)
      while monitoring lsof for system_server's NETFILTER sockets

Bug: 32163131
Bug: 64976634
Bug: 110122306

Merged-In: Id25f948b6b4d25ac033d9b608ab4a6b474f2c606
Merged-In: I212cbbe134bba4580a6e73de9bb77e712d25c9a6

Change-Id: Ib52b812e8434c27ad9f2596666400c13e03c2216
parent 3f4b3c94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment