aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-24 12:58:59 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-24 14:06:25 -0700
commitd7e38611b81e6d7e14969c361f2b9fc07403a6c3 (patch)
treed7c384596987946a32670290b45300f3f2dd1fcd /net/ipv6/addrconf.c
parentMerge tag 'docs-4.20' of git://git.lwn.net/linux (diff)
downloadlinux-dev-d7e38611b81e6d7e14969c361f2b9fc07403a6c3.tar.xz
linux-dev-d7e38611b81e6d7e14969c361f2b9fc07403a6c3.zip
net/ipv4: Put target net when address dump fails due to bad attributes
If tgt_net is set based on IFA_TARGET_NETNSID attribute in the dump request, make sure all error paths call put_net. Fixes: 5fcd266a9f64 ("net/ipv4: Add support for dumping addresses for a specific device") Fixes: c33078e3dfb1 ("net/ipv4: Update inet_dump_ifaddr for strict data checking") Reported-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions