Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222001
b: refs/heads/master
c: 18943d2
h: refs/heads/master
i:
  221999: 024e6af
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 9, 2010
1 parent d165034 commit 0d461de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: aa58163a76a3aef33c7220931543d45d0fe43753
refs/heads/master: 18943d292facbc70e6a36fc62399ae833f64671b
4 changes: 1 addition & 3 deletions trunk/net/ipv4/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2306,10 +2306,8 @@ void ip_mc_drop_socket(struct sock *sk)

in_dev = inetdev_by_index(net, iml->multi.imr_ifindex);
(void) ip_mc_leave_src(sk, iml, in_dev);
if (in_dev != NULL) {
if (in_dev != NULL)
ip_mc_dec_group(in_dev, iml->multi.imr_multiaddr.s_addr);
in_dev_put(in_dev);
}
/* decrease mem now to avoid the memleak warning */
atomic_sub(sizeof(*iml), &sk->sk_omem_alloc);
call_rcu(&iml->rcu, ip_mc_socklist_reclaim);
Expand Down

0 comments on commit 0d461de

Please sign in to comment.