diff options
author | David S. Miller <[email protected]> | 2020-08-24 16:21:44 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-24 16:21:44 -0700 |
commit | ce876d8f3dcb4e2e11579f95b615dda96e02b1a7 (patch) | |
tree | 9cbd2a2820edb9acc2278eaa37cc1e809840b884 /net/sctp/protocol.c | |
parent | 901341bb9718884f337a92e6c4541227597d1f48 (diff) | |
parent | b8d7a7c62c7ac7fbc3c3e01ba3205bc119c383ad (diff) |
Merge branch 'net-sctp-delete-duplicated-words-plus-other-fixes'
Randy Dunlap says:
====================
net: sctp: delete duplicated words + other fixes
Drop or fix repeated words in net/sctp/.
====================
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index d19db22262fd..25833238fe93 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -372,7 +372,7 @@ static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp) * Level 3 - private addresses. * Level 4 - global addresses * For INIT and INIT-ACK address list, let L be the level of - * of requested destination address, sender and receiver + * requested destination address, sender and receiver * SHOULD include all of its addresses with level greater * than or equal to L. * @@ -1483,10 +1483,10 @@ static __init int sctp_init(void) num_entries = (1UL << order) * PAGE_SIZE / sizeof(struct sctp_bind_hashbucket); - /* And finish by rounding it down to the nearest power of two - * this wastes some memory of course, but its needed because + /* And finish by rounding it down to the nearest power of two. + * This wastes some memory of course, but it's needed because * the hash function operates based on the assumption that - * that the number of entries is a power of two + * the number of entries is a power of two. */ sctp_port_hashsize = rounddown_pow_of_two(num_entries); |