]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec5812121d4535c91a581abfd57fbe5d3472e099
tree9289683f82bc09ccadba983778f39e842ddaa2f2
parent1d7c927a59e0255de3023bc8bb19893d3c04f447
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