diff options
author | Nicolas Dichtel <[email protected]> | 2014-11-27 10:16:15 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-11-29 21:05:43 -0800 |
commit | e0ebde0e131b529fd721b24f62872def5ec3718c (patch) | |
tree | 8576df0d94d61a55762de13b2651f3ce00da1834 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f6c6fda4c9e17940b0a2ba206b0408babfdc930c (diff) |
rtnetlink: release net refcnt on error in do_setlink()
rtnl_link_get_net() holds a reference on the 'struct net', we need to release
it in case of error.
CC: Eric W. Biederman <[email protected]>
Fixes: b51642f6d77b ("net: Enable a userns root rtnl calls that are safe for unprivilged users")
Signed-off-by: Nicolas Dichtel <[email protected]>
Reviewed-by: "Eric W. Biederman" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions