Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281973
b: refs/heads/master
c: a8c1f65
h: refs/heads/master
i:
  281971: 03ae958
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Jan 9, 2012
1 parent 16c0b2e commit 2483832
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5686ad82ca2aeed7a8f24ffca115c0b7478dec9
refs/heads/master: a8c1f65c79cbbb2f7da782d4c9d15639a9b94b27
2 changes: 2 additions & 0 deletions trunk/net/ipv4/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,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;
Expand Down

0 comments on commit 2483832

Please sign in to comment.