diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-11-02 13:14:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-11-02 13:18:11 -0700 |
commit | ea792cb3e1b3c1f2c34b2ffd7dbfde5d935b8a74 (patch) | |
tree | 9c3f9256c425556e59a8d801b532d187913d0022 /test/syscalls/linux/sigaltstack_check.cc | |
parent | 1e1d6b2be37873c5e62461834df973f41565c662 (diff) |
Properly reap NATed connections
This change fixes a bug when reaping tuples of NAT-ed connections.
Previously when reaping a tuple, the other direction's tuple ID was
calculated by taking the reaping tuple's ID and inverting it. This
works when a connection is not NATed but doesn't work when NAT is
performed as the other direction's tuple may use different
addresses.
PiperOrigin-RevId: 407160930
Diffstat (limited to 'test/syscalls/linux/sigaltstack_check.cc')
0 files changed, 0 insertions, 0 deletions