diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-06-08 06:07:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-09 00:24:53 -0700 |
commit | fe6fe792faec3fc2d2db39b69651682b8c4e7fcb (patch) | |
tree | bf2ea12d05616187177ae7b699c1349f4cf79871 /net/core/netpoll.c | |
parent | 6c43e0465f56248d9da56f2c4665ce1696766814 (diff) | |
download | linux-fe6fe792faec3fc2d2db39b69651682b8c4e7fcb.tar.bz2 |
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>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions