Commit 5debe0b3 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by David S. Miller

decnet: Fix spelling mistakes

Fix some spelling mistakes in comments:
thats  ==> that's
serivce  ==> service
varience  ==> variance
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fe6c0262
...@@ -870,7 +870,7 @@ int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb) ...@@ -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) ...@@ -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 @@ static int dn_route_rx_short(struct sk_buff *skb) ...@@ -604,7 +604,7 @@ static int dn_route_rx_short(struct sk_buff *skb)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment