summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2014-11-27 10:16:15 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-30 06:05:43 +0100
commite0ebde0e131b529fd721b24f62872def5ec3718c (patch)
tree8576df0d94d61a55762de13b2651f3ce00da1834 /mm/mmap.c
parentbond: Check length of IFLA_BOND_ARP_IP_TARGET attributes (diff)
downloadlinux-e0ebde0e131b529fd721b24f62872def5ec3718c.tar.xz
linux-e0ebde0e131b529fd721b24f62872def5ec3718c.zip
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 <ebiederm@xmission.com> Fixes: b51642f6d77b ("net: Enable a userns root rtnl calls that are safe for unprivilged users") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions