summaryrefslogtreecommitdiff
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-24 22:59:00 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-25 00:06:25 +0300
commit242afaa6968cde96824247ab984c24c466ca29f3 (patch)
treeec4a8972439b5fef18a14fd486ef5c91f96b1603 /include/net/ip_fib.h
parentd7e38611b81e6d7e14969c361f2b9fc07403a6c3 (diff)
downloadlinux-242afaa6968cde96824247ab984c24c466ca29f3.tar.xz
net/ipv6: 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: 6371a71f3a3b ("net/ipv6: Add support for dumping addresses for a specific device") Fixes: ed6eff11790a ("net/ipv6: Update inet6_dump_addr for strict data checking") Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
0 files changed, 0 insertions, 0 deletions