aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-01-31 16:45:47 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:28:23 -0800
commit71d67e666e73e3b7e9ef124745ee2e454ac04be8 (patch)
treee163b578c98f3c3ac69cb88ca6bf936d6ab4d698 /include/linux/netlink.h
parent9fe7c712fc955565c32e2f899d4ffeceaf028398 (diff)
downloadkernel_samsung_smdk4412-71d67e666e73e3b7e9ef124745ee2e454ac04be8.zip
kernel_samsung_smdk4412-71d67e666e73e3b7e9ef124745ee2e454ac04be8.tar.gz
kernel_samsung_smdk4412-71d67e666e73e3b7e9ef124745ee2e454ac04be8.tar.bz2
[IPV4] fib_trie: rescan if key is lost during dump
Normally during a dump the key of the last dumped entry is used for continuation, but since lock is dropped it might be lost. In that case fallback to the old counter based N^2 behaviour. This means the dump will end up skipping some routes which matches what FIB_HASH does. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index bd13b6f..fb0713b 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -219,7 +219,7 @@ struct netlink_callback
int (*dump)(struct sk_buff * skb, struct netlink_callback *cb);
int (*done)(struct netlink_callback *cb);
int family;
- long args[5];
+ long args[6];
};
struct netlink_notify