commit | efc683fc2a692735029067b4f939af2a3625e31d | [log] [tgz] |
---|---|---|
author | Gautam Kachroo <gk@aristanetworks.com> | Fri Feb 06 00:52:04 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 06 00:52:04 2009 -0800 |
tree | d1961466cef6bae0cfa44f656a909ef8349b56c6 | |
parent | 684de409acff8b1fe8bf188d75ff2f99c624387d [diff] |
neigh: some entries can be skipped during dumping neightbl_dump_info and neigh_dump_table can skip entries if the *fill*info functions return an error. This results in an incomplete dump ((invoked by netlink requests for RTM_GETNEIGHTBL or RTM_GETNEIGH) nidx and idx should not be incremented if the current entry was not placed in the output buffer Signed-off-by: Gautam Kachroo <gk@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>