]> git.baikalelectronics.ru Git - kernel.git/commit
udp: Simplify __udp*_lib_mcast_deliver.
authorDavid Held <drheld@google.com>
Wed, 16 Jul 2014 03:28:31 +0000 (23:28 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 06:29:52 +0000 (23:29 -0700)
commitbdb1b3764b6c75f6c2a78e7e921e1e8c18aa0ccd
treeb2a162b9ee42c0842e3178eefb7759d64ebb0416
parent9e774eed7e86f23eb1707a7ada5e6565a95b380d
udp: Simplify __udp*_lib_mcast_deliver.

Switch to using sk_nulls_for_each which shortens the code and makes it
easier to update.

Signed-off-by: David Held <drheld@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c