diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-25 19:45:16 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:25:23 +0100 |
commit | 424ff7b8ed77bf556e16fca94e72483daf846caa (patch) | |
tree | de01b8134cab4ddddb7261925779db6222ec19e4 /src/cookie.h | |
parent | 0d474166163835b53e6ac265a08314756327493f (diff) |
device: only take reference if netns is different
If we take two references, the namespace and the device are never freed
in the usual manner. We should thus only take a reference to another
namespace when it is a different namespace from our own.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/cookie.h')
0 files changed, 0 insertions, 0 deletions