Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33398
b: refs/heads/master
c: bb699cb
h: refs/heads/master
v: v3
  • Loading branch information
Michal Ruzicka authored and David S. Miller committed Aug 17, 2006
1 parent 2ef3219 commit db6586d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 640c41c77a96dbbfb74d40ae86ab75b759afb911
refs/heads/master: bb699cbca0096aa3f5f750264ec0af080732375a
6 changes: 3 additions & 3 deletions trunk/net/ipv4/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2199,13 +2199,13 @@ void ip_mc_drop_socket(struct sock *sk)
struct in_device *in_dev;
inet->mc_list = iml->next;

if ((in_dev = inetdev_by_index(iml->multi.imr_ifindex)) != NULL) {
(void) ip_mc_leave_src(sk, iml, in_dev);
in_dev = inetdev_by_index(iml->multi.imr_ifindex);
(void) ip_mc_leave_src(sk, iml, in_dev);
if (in_dev != NULL) {
ip_mc_dec_group(in_dev, iml->multi.imr_multiaddr.s_addr);
in_dev_put(in_dev);
}
sock_kfree_s(sk, iml, sizeof(*iml));

}
rtnl_unlock();
}
Expand Down

0 comments on commit db6586d

Please sign in to comment.