summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>2010-06-27 14:26:06 +0400
committerArnd Bergmann <arnd@arndb.de>2010-10-09 23:36:35 +0400
commit8b9d40691e8f5e7e0c8fb839c2bad29c5e0888ce (patch)
treea4e4cea8af80fa0aa90cb98a9516d3118cc1b51c /include/net
parent6b0cd00bc396daf5c2dcf17a8d82055335341f46 (diff)
downloadlinux-8b9d40691e8f5e7e0c8fb839c2bad29c5e0888ce.tar.xz
asm-generic: make atomic_add_unless a function
atomic_add_unless is a macro so, bad things happen if the caller defines a local variable named c, just like like the local variable c defined by the macro. Thus, convert atomic_add_unless to a function. (bug triggered by net/ipv4/netfilter/ipt_CLUSTERIP.c: clusterip_config_find_get calls atomic_inc_not_zero) Signed-off-by: Mathieu Lacage <mathieu.lacage@inria.fr> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions