projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc2ae6
)
net: dccp: Fix ccid2_rtt_estimator() kernel-doc
author
Jeff Johnson
<quic_jjohnson@quicinc.com>
Sun, 5 May 2024 20:09:31 +0000
(13:09 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 7 May 2024 23:15:08 +0000
(16:15 -0700)
make C=1 reports:
warning: Function parameter or struct member 'mrtt' not described in 'ccid2_rtt_estimator'
So document the 'mrtt' parameter.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link:
https://lore.kernel.org/r/20240505-ccid2_rtt_estimator-kdoc-v1-1-09231fcb9145@quicinc.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dccp/ccids/ccid2.c
patch
|
blob
|
history
diff --git
a/net/dccp/ccids/ccid2.c
b/net/dccp/ccids/ccid2.c
index 4d9823d6dcedf07228ebfd5122d12d4c006502a9..d6b30700af6794d0997441b4797a04c46dd7b297 100644
(file)
--- a/
net/dccp/ccids/ccid2.c
+++ b/
net/dccp/ccids/ccid2.c
@@
-353,6
+353,7
@@
static void ccid2_hc_tx_packet_sent(struct sock *sk, unsigned int len)
/**
* ccid2_rtt_estimator - Sample RTT and compute RTO using RFC2988 algorithm
* @sk: socket to perform estimator on
+ * @mrtt: measured RTT
*
* This code is almost identical with TCP's tcp_rtt_estimator(), since
* - it has a higher sampling frequency (recommended by RFC 1323),