Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/wireless/ath/ath9k/recv.c drivers/net/wireless/mwifiex/pcie.c net/ipv6/sit.c The SIT driver conflict consists of a bug fix being done by hand in 'net' (missing u64_stats_init()) whilst in 'net-next' a helper was created (netdev_alloc_pcpu_stats()) which takes care of this. The two wireless conflicts were overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -766,9 +766,6 @@ static void neigh_periodic_work(struct work_struct *work)
|
||||
nht = rcu_dereference_protected(tbl->nht,
|
||||
lockdep_is_held(&tbl->lock));
|
||||
|
||||
if (atomic_read(&tbl->entries) < tbl->gc_thresh1)
|
||||
goto out;
|
||||
|
||||
/*
|
||||
* periodically recompute ReachableTime from random function
|
||||
*/
|
||||
@@ -781,6 +778,9 @@ static void neigh_periodic_work(struct work_struct *work)
|
||||
neigh_rand_reach_time(NEIGH_VAR(p, BASE_REACHABLE_TIME));
|
||||
}
|
||||
|
||||
if (atomic_read(&tbl->entries) < tbl->gc_thresh1)
|
||||
goto out;
|
||||
|
||||
for (i = 0 ; i < (1 << nht->hash_shift); i++) {
|
||||
np = &nht->hash_buckets[i];
|
||||
|
||||
@@ -3047,7 +3047,7 @@ int neigh_sysctl_register(struct net_device *dev, struct neigh_parms *p,
|
||||
if (!t)
|
||||
goto err;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(t->neigh_vars); i++) {
|
||||
for (i = 0; i < NEIGH_VAR_GC_INTERVAL; i++) {
|
||||
t->neigh_vars[i].data += (long) p;
|
||||
t->neigh_vars[i].extra1 = dev;
|
||||
t->neigh_vars[i].extra2 = p;
|
||||
|
Reference in New Issue
Block a user