mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
decnet: Fix spelling mistakes
Fix some spelling mistakes in comments: thats ==> that's serivce ==> service varience ==> variance Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fe6c0262bd
commit
5debe0b30b
@ -870,7 +870,7 @@ int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Read out ack data here, this applies equally
|
* Read out ack data here, this applies equally
|
||||||
* to data, other data, link serivce and both
|
* to data, other data, link service and both
|
||||||
* ack data and ack otherdata.
|
* ack data and ack otherdata.
|
||||||
*/
|
*/
|
||||||
dn_process_ack(sk, skb, other);
|
dn_process_ack(sk, skb, other);
|
||||||
|
@ -179,7 +179,7 @@ static void dn_nsp_rtt(struct sock *sk, long rtt)
|
|||||||
scp->nsp_srtt = 1;
|
scp->nsp_srtt = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add new rtt varience to smoothed varience
|
* Add new rtt variance to smoothed varience
|
||||||
*/
|
*/
|
||||||
delta >>= 1;
|
delta >>= 1;
|
||||||
rttvar += ((((delta>0)?(delta):(-delta)) - rttvar) >> 2);
|
rttvar += ((((delta>0)?(delta):(-delta)) - rttvar) >> 2);
|
||||||
|
@ -604,7 +604,7 @@ drop_it:
|
|||||||
static int dn_route_discard(struct net *net, struct sock *sk, struct sk_buff *skb)
|
static int dn_route_discard(struct net *net, struct sock *sk, struct sk_buff *skb)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* I know we drop the packet here, but thats considered success in
|
* I know we drop the packet here, but that's considered success in
|
||||||
* this case
|
* this case
|
||||||
*/
|
*/
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
|
Loading…
Reference in New Issue
Block a user