From: Nicolas Dichtel Date: Fri, 22 Mar 2013 06:28:42 +0000 (+0000) Subject: ipv4: provide addr and netconf dump consistency info X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~351 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0465277f6b3fd0535428ae935644ac30ce903de0;p=pandora-kernel.git ipv4: provide addr and netconf dump consistency info This patch takes benefit of dev_addr_genid and dev_base_seq to check if a change occurs during a netlink dump. If a change is detected, the flag NLM_F_DUMP_INTR is set in the first message after the dump was interrupted. Note that seq and prev_seq must be reset between each family in rtnl_dump_all() because they are specific to each family. Reported-by: Junwei Zhang Reported-by: Hongjun Li Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed