aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inetpeer.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/inetpeer.c')
-rw-r--r--net/ipv4/inetpeer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index 4ced1b9a97f0..bd5f5928167d 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -504,7 +504,7 @@ EXPORT_SYMBOL_GPL(inet_getpeer);
504void inet_putpeer(struct inet_peer *p) 504void inet_putpeer(struct inet_peer *p)
505{ 505{
506 p->dtime = (__u32)jiffies; 506 p->dtime = (__u32)jiffies;
507 smp_mb__before_atomic_dec(); 507 smp_mb__before_atomic();
508 atomic_dec(&p->refcnt); 508 atomic_dec(&p->refcnt);
509} 509}
510EXPORT_SYMBOL_GPL(inet_putpeer); 510EXPORT_SYMBOL_GPL(inet_putpeer);