X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Figmp.c;h=c3cc64c6f715eefe16e0dc4b3505ac905439db79;hb=25c413ad0029ea86008234be28aee33456e53e5b;hp=b2ca095cb9dab36a4eb6e8da7308c4e55a6437cc;hpb=d2570fc048ca1307e64572c825e0d7908bd60a21;p=pandora-kernel.git diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index b2ca095cb9da..c3cc64c6f715 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -875,6 +875,8 @@ static void igmp_heard_query(struct in_device *in_dev, struct sk_buff *skb, * to be intended in a v3 query. */ max_delay = IGMPV3_MRC(ih3->code)*(HZ/IGMP_TIMER_SCALE); + if (!max_delay) + max_delay = 1; /* can't mod w/ 0 */ } else { /* v3 */ if (!pskb_may_pull(skb, sizeof(struct igmpv3_query))) return;