diff options
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 5679d927562b..624a8a54806d 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -1204,7 +1204,7 @@ static inline bool __ip_vs_conn_get(struct ip_vs_conn *cp) | |||
1204 | /* put back the conn without restarting its timer */ | 1204 | /* put back the conn without restarting its timer */ |
1205 | static inline void __ip_vs_conn_put(struct ip_vs_conn *cp) | 1205 | static inline void __ip_vs_conn_put(struct ip_vs_conn *cp) |
1206 | { | 1206 | { |
1207 | smp_mb__before_atomic_dec(); | 1207 | smp_mb__before_atomic(); |
1208 | atomic_dec(&cp->refcnt); | 1208 | atomic_dec(&cp->refcnt); |
1209 | } | 1209 | } |
1210 | void ip_vs_conn_put(struct ip_vs_conn *cp); | 1210 | void ip_vs_conn_put(struct ip_vs_conn *cp); |
@@ -1408,7 +1408,7 @@ static inline void ip_vs_dest_hold(struct ip_vs_dest *dest) | |||
1408 | 1408 | ||
1409 | static inline void ip_vs_dest_put(struct ip_vs_dest *dest) | 1409 | static inline void ip_vs_dest_put(struct ip_vs_dest *dest) |
1410 | { | 1410 | { |
1411 | smp_mb__before_atomic_dec(); | 1411 | smp_mb__before_atomic(); |
1412 | atomic_dec(&dest->refcnt); | 1412 | atomic_dec(&dest->refcnt); |
1413 | } | 1413 | } |
1414 | 1414 | ||