diff options
author | David Ahern <dsahern@gmail.com> | 2018-10-24 12:58:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-24 14:06:25 -0700 |
commit | d7e38611b81e6d7e14969c361f2b9fc07403a6c3 (patch) | |
tree | d7c384596987946a32670290b45300f3f2dd1fcd /Documentation/dontdiff | |
parent | 01aa9d518eae8a4d75cd3049defc6ed0b6d0a658 (diff) | |
download | blackbird-obmc-linux-d7e38611b81e6d7e14969c361f2b9fc07403a6c3.tar.gz blackbird-obmc-linux-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 'Documentation/dontdiff')
0 files changed, 0 insertions, 0 deletions