Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247006
b: refs/heads/master
c: 2e97e98
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Apr 27, 2011
1 parent 5f8295a commit 5860868
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d7192d6cbab20e153c47fa1559ffd41ceef0e79
refs/heads/master: 2e97e980b5653c23d01c911af6a0ab2d3431d7f1
10 changes: 0 additions & 10 deletions trunk/net/ipv4/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,6 @@ static struct sk_buff *igmpv3_newpack(struct net_device *dev, int size)
kfree_skb(skb);
return NULL;
}
if (rt->rt_src == 0) {
kfree_skb(skb);
ip_rt_put(rt);
return NULL;
}

skb_dst_set(skb, &rt->dst);
skb->dev = dev;
Expand Down Expand Up @@ -670,11 +665,6 @@ static int igmp_send_report(struct in_device *in_dev, struct ip_mc_list *pmc,
if (IS_ERR(rt))
return -1;

if (rt->rt_src == 0) {
ip_rt_put(rt);
return -1;
}

skb = alloc_skb(IGMP_SIZE+LL_ALLOCATED_SPACE(dev), GFP_ATOMIC);
if (skb == NULL) {
ip_rt_put(rt);
Expand Down

0 comments on commit 5860868

Please sign in to comment.