]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/igmp.c
ipv4: Make rt->fl.iif tests lest obscure.
[net-next-2.6.git] / net / ipv4 / igmp.c
index c8877c6c72164ccaee2af4def0025f8300bc7e80..08d0d81ffc15df97171958df6ef17048bd1127a9 100644 (file)
@@ -961,7 +961,7 @@ int igmp_rcv(struct sk_buff *skb)
        case IGMP_HOST_MEMBERSHIP_REPORT:
        case IGMPV2_HOST_MEMBERSHIP_REPORT:
                /* Is it our report looped back? */
-               if (skb_rtable(skb)->fl.iif == 0)
+               if (rt_is_output_route(skb_rtable(skb)))
                        break;
                /* don't rely on MC router hearing unicast reports */
                if (skb->pkt_type == PACKET_MULTICAST ||