]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv6: mld: clean up MLD_V1_SEEN macro
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 3 Sep 2013 22:19:38 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 18:53:20 +0000 (14:53 -0400)
commit3df49a04592a1300b6085470c01600011c7ec814
tree6ccfa732ecd88e37568f9e1a18d655bef440027b
parentec4f1300154aa7a5e282bbe0ea84c9737ec5dcdb
net: ipv6: mld: clean up MLD_V1_SEEN macro

Replace the macro with a function to make it more readable. GCC will
eventually decide whether to inline this or not (also, that's not
fast-path anyway).

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c