Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41800
b: refs/heads/master
c: d5c747f
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent 8f5d22d commit a0c4dba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 39940a48c42441da5e7428483ac515e822d52b1d
refs/heads/master: d5c747f6efc03495635f129c8eb1dad0200ab183
4 changes: 3 additions & 1 deletion trunk/net/sctp/bind_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,14 @@ union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp,

addr_buf = (union sctp_addr *)addrs;
for (i = 0; i < addrcnt; i++) {
union sctp_addr tmp;
addr = (union sctp_addr *)addr_buf;
af = sctp_get_af_specific(addr->v4.sin_family);
if (!af)
return NULL;
flip_to_h(&tmp, addr);

if (opt->pf->cmp_addr(&laddr->a, addr, opt))
if (opt->pf->cmp_addr(&laddr->a, &tmp, opt))
break;

addr_buf += af->sockaddr_len;
Expand Down

0 comments on commit a0c4dba

Please sign in to comment.