ipv4: rate limit updating of next hop exceptions with same pmtu
authorTimo Teräs <timo.teras@iki.fi>
Mon, 27 May 2013 20:46:32 +0000 (20:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2013 07:07:43 +0000 (00:07 -0700)
commitf016229e303c294afac721de4cd4427e634950ea
tree9289683f82bc09ccadba983778f39e842ddaa2f2
parent387aa65a89434abe3128d36d1a6fc3842c94905d
ipv4: rate limit updating of next hop exceptions with same pmtu

The tunnel devices call update_pmtu for each packet sent, this causes
contention on the fnhe_lock. Ignore the pmtu update if pmtu is not
actually changed, and there is still plenty of time before the entry
expires.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c