diff options
Diffstat (limited to 'net/ipv4/inetpeer.c')
-rw-r--r-- | net/ipv4/inetpeer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c index 48f424465112..56cd458a1b8c 100644 --- a/net/ipv4/inetpeer.c +++ b/net/ipv4/inetpeer.c | |||
@@ -522,7 +522,7 @@ EXPORT_SYMBOL_GPL(inet_getpeer); | |||
522 | void inet_putpeer(struct inet_peer *p) | 522 | void inet_putpeer(struct inet_peer *p) |
523 | { | 523 | { |
524 | p->dtime = (__u32)jiffies; | 524 | p->dtime = (__u32)jiffies; |
525 | smp_mb__before_atomic_dec(); | 525 | smp_mb__before_atomic(); |
526 | atomic_dec(&p->refcnt); | 526 | atomic_dec(&p->refcnt); |
527 | } | 527 | } |
528 | EXPORT_SYMBOL_GPL(inet_putpeer); | 528 | EXPORT_SYMBOL_GPL(inet_putpeer); |