]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
neigh: some entries can be skipped during dumping
authorGautam Kachroo <gk@aristanetworks.com>
Fri, 6 Feb 2009 08:52:04 +0000 (00:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Feb 2009 08:52:04 +0000 (00:52 -0800)
commitefc683fc2a692735029067b4f939af2a3625e31d
treed1961466cef6bae0cfa44f656a909ef8349b56c6
parent684de409acff8b1fe8bf188d75ff2f99c624387d
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>
net/core/neighbour.c