add igmp.patch and update PR of dvbapp.
[vuplus_openembedded] / recipes / linux / linux-bm750-3.1.1 / igmp.patch
diff --git a/recipes/linux/linux-bm750-3.1.1/igmp.patch b/recipes/linux/linux-bm750-3.1.1/igmp.patch
new file mode 100644 (file)
index 0000000..e2e648c
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
+index d577199..e0d42db 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;