Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351999
b: refs/heads/master
c: 07c2fec
h: refs/heads/master
i:
  351997: 8082da7
  351995: bf25b36
  351991: 32c8afc
  351983: 0832a97
  351967: 8f9d9d6
  351935: 034ff25
  351871: 585e11d
  351743: b06b4f0
v: v3
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and David S. Miller committed Jan 30, 2013
1 parent daa5fc3 commit ce666a4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b53c47dd4fdb3f062c07b1ba8a7f9f80237be182
refs/heads/master: 07c2fecc363c8f94a0bd2fdf9b7209ec6f5a0ab5
5 changes: 2 additions & 3 deletions trunk/net/ipv6/mcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,7 @@ int ip6_mc_source(int add, int omode, struct sock *sk,
goto done; /* err = -EADDRNOTAVAIL */
rv = !0;
for (i=0; i<psl->sl_count; i++) {
rv = memcmp(&psl->sl_addr[i], source,
sizeof(struct in6_addr));
rv = !ipv6_addr_equal(&psl->sl_addr[i], source);
if (rv == 0)
break;
}
Expand Down Expand Up @@ -427,7 +426,7 @@ int ip6_mc_source(int add, int omode, struct sock *sk,
}
rv = 1; /* > 0 for insert logic below if sl_count is 0 */
for (i=0; i<psl->sl_count; i++) {
rv = memcmp(&psl->sl_addr[i], source, sizeof(struct in6_addr));
rv = !ipv6_addr_equal(&psl->sl_addr[i], source);
if (rv == 0)
break;
}
Expand Down

0 comments on commit ce666a4

Please sign in to comment.