commit | fe6fe792faec3fc2d2db39b69651682b8c4e7fcb | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Jun 08 06:07:07 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 09 00:24:53 2011 -0700 |
tree | bf2ea12d05616187177ae7b699c1349f4cf79871 | |
parent | 6c43e0465f56248d9da56f2c4665ce1696766814 [diff] |
net: pmtu_expires fixes commit 2c8cec5c10bc (ipv4: Cache learned PMTU information in inetpeer) added some racy peer->pmtu_expires accesses. As its value can be changed by another cpu/thread, we should be more careful, reading its value once. Add peer_pmtu_expired() and peer_pmtu_cleaned() helpers Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>