Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 045f7b3b authored by David S. Miller's avatar David S. Miller
Browse files

neigh: Kill bogus SMP protected debugging message.



Whatever situations make this state legitimate when SMP
also would be legitimate when !SMP and f.e. preemption is
enabled.

This is dubious enough that we should just delete it entirely.  If we
want to add debugging for neigh timer races, better more thorough
mechanisms are needed.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 563e1232
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -872,12 +872,8 @@ static void neigh_timer_handler(unsigned long arg)
	now = jiffies;
	next = now + HZ;

	if (!(state & NUD_IN_TIMER)) {
#ifndef CONFIG_SMP
		printk(KERN_WARNING "neigh: timer & !nud_in_timer\n");
#endif
	if (!(state & NUD_IN_TIMER))
		goto out;
	}

	if (state & NUD_REACHABLE) {
		if (time_before_eq(now,