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)
commit5cf3d46192fccf68b4a4759e4d7346e41c669a76
treeb2a162b9ee42c0842e3178eefb7759d64ebb0416
parent3e1c0f0b06e38b50bfca197a6443d639353bb035
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