diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:25:18 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:20:11 -0500 |
commit | d808ad9ab8b1109239027c248c4652503b9d3029 (patch) | |
tree | cdd09b4987a4efd687a0a138491d626f8b674de5 /net/sctp/bind_addr.c | |
parent | 10297b99315e5e08fe623ba56da35db1fee69ba9 (diff) |
[NET] SCTP: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/bind_addr.c')
-rw-r--r-- | net/sctp/bind_addr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index 00994158e496..80294cbc0de6 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c | |||
@@ -62,7 +62,7 @@ static void sctp_bind_addr_clean(struct sctp_bind_addr *); | |||
62 | /* Copy 'src' to 'dest' taking 'scope' into account. Omit addresses | 62 | /* Copy 'src' to 'dest' taking 'scope' into account. Omit addresses |
63 | * in 'src' which have a broader scope than 'scope'. | 63 | * in 'src' which have a broader scope than 'scope'. |
64 | */ | 64 | */ |
65 | int sctp_bind_addr_copy(struct sctp_bind_addr *dest, | 65 | int sctp_bind_addr_copy(struct sctp_bind_addr *dest, |
66 | const struct sctp_bind_addr *src, | 66 | const struct sctp_bind_addr *src, |
67 | sctp_scope_t scope, gfp_t gfp, | 67 | sctp_scope_t scope, gfp_t gfp, |
68 | int flags) | 68 | int flags) |
@@ -296,7 +296,7 @@ int sctp_raw_to_bind_addrs(struct sctp_bind_addr *bp, __u8 *raw_addr_list, | |||
296 | ********************************************************************/ | 296 | ********************************************************************/ |
297 | 297 | ||
298 | /* Does this contain a specified address? Allow wildcarding. */ | 298 | /* Does this contain a specified address? Allow wildcarding. */ |
299 | int sctp_bind_addr_match(struct sctp_bind_addr *bp, | 299 | int sctp_bind_addr_match(struct sctp_bind_addr *bp, |
300 | const union sctp_addr *addr, | 300 | const union sctp_addr *addr, |
301 | struct sctp_sock *opt) | 301 | struct sctp_sock *opt) |
302 | { | 302 | { |
@@ -306,7 +306,7 @@ int sctp_bind_addr_match(struct sctp_bind_addr *bp, | |||
306 | list_for_each(pos, &bp->address_list) { | 306 | list_for_each(pos, &bp->address_list) { |
307 | laddr = list_entry(pos, struct sctp_sockaddr_entry, list); | 307 | laddr = list_entry(pos, struct sctp_sockaddr_entry, list); |
308 | if (opt->pf->cmp_addr(&laddr->a, addr, opt)) | 308 | if (opt->pf->cmp_addr(&laddr->a, addr, opt)) |
309 | return 1; | 309 | return 1; |
310 | } | 310 | } |
311 | 311 | ||
312 | return 0; | 312 | return 0; |
@@ -329,12 +329,12 @@ union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, | |||
329 | 329 | ||
330 | list_for_each(pos, &bp->address_list) { | 330 | list_for_each(pos, &bp->address_list) { |
331 | laddr = list_entry(pos, struct sctp_sockaddr_entry, list); | 331 | laddr = list_entry(pos, struct sctp_sockaddr_entry, list); |
332 | 332 | ||
333 | addr_buf = (union sctp_addr *)addrs; | 333 | addr_buf = (union sctp_addr *)addrs; |
334 | for (i = 0; i < addrcnt; i++) { | 334 | for (i = 0; i < addrcnt; i++) { |
335 | addr = (union sctp_addr *)addr_buf; | 335 | addr = (union sctp_addr *)addr_buf; |
336 | af = sctp_get_af_specific(addr->v4.sin_family); | 336 | af = sctp_get_af_specific(addr->v4.sin_family); |
337 | if (!af) | 337 | if (!af) |
338 | return NULL; | 338 | return NULL; |
339 | 339 | ||
340 | if (opt->pf->cmp_addr(&laddr->a, addr, opt)) | 340 | if (opt->pf->cmp_addr(&laddr->a, addr, opt)) |
@@ -350,7 +350,7 @@ union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, | |||
350 | } | 350 | } |
351 | 351 | ||
352 | /* Copy out addresses from the global local address list. */ | 352 | /* Copy out addresses from the global local address list. */ |
353 | static int sctp_copy_one_addr(struct sctp_bind_addr *dest, | 353 | static int sctp_copy_one_addr(struct sctp_bind_addr *dest, |
354 | union sctp_addr *addr, | 354 | union sctp_addr *addr, |
355 | sctp_scope_t scope, gfp_t gfp, | 355 | sctp_scope_t scope, gfp_t gfp, |
356 | int flags) | 356 | int flags) |