diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2016-11-19 23:28:32 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-19 22:14:30 -0500 |
commit | 3f0ae05d6fea0ed5b19efdbc9c9f8e02685a3af3 (patch) | |
tree | 65e524a6741b5b70644959f7249b39b63aff7e30 /net/netlabel | |
parent | 32c231164b762dddefa13af5a0101032c70b50ef (diff) | |
download | linux-3f0ae05d6fea0ed5b19efdbc9c9f8e02685a3af3.tar.gz linux-3f0ae05d6fea0ed5b19efdbc9c9f8e02685a3af3.tar.bz2 linux-3f0ae05d6fea0ed5b19efdbc9c9f8e02685a3af3.zip |
rtnl: fix the loop index update error in rtnl_dump_ifinfo()
If the link is filtered out, loop index should also be updated. If not,
loop index will not be correct.
Fixes: dc599f76c22b0 ("net: Add support for filtering link dump by master device and kind")
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions