Skip to content

Commit bff5285

Browse files
stephen hemmingerdavem330
authored andcommitted
gre: fix spelling in comments
The original spelling and bad word choice makes these comments hard to read. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5d69703 commit bff5285

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

net/ipv4/ip_gre.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
it is infeasible task. The most general solutions would be
6666
to keep skb->encapsulation counter (sort of local ttl),
6767
and silently drop packet when it expires. It is a good
68-
solution, but it supposes maintaing new variable in ALL
68+
solution, but it supposes maintaining new variable in ALL
6969
skb, even if no tunneling is used.
7070
7171
Current solution: xmit_recursion breaks dead loops. This is a percpu
@@ -91,14 +91,14 @@
9191
9292
One of them is to parse packet trying to detect inner encapsulation
9393
made by our node. It is difficult or even impossible, especially,
94-
taking into account fragmentation. TO be short, tt is not solution at all.
94+
taking into account fragmentation. TO be short, ttl is not solution at all.
9595
9696
Current solution: The solution was UNEXPECTEDLY SIMPLE.
9797
We force DF flag on tunnels with preconfigured hop limit,
9898
that is ALL. :-) Well, it does not remove the problem completely,
9999
but exponential growth of network traffic is changed to linear
100100
(branches, that exceed pmtu are pruned) and tunnel mtu
101-
fastly degrades to value <68, where looping stops.
101+
rapidly degrades to value <68, where looping stops.
102102
Yes, it is not good if there exists a router in the loop,
103103
which does not force DF, even when encapsulating packets have DF set.
104104
But it is not our problem! Nobody could accuse us, we made
@@ -457,8 +457,8 @@ static void ipgre_err(struct sk_buff *skb, u32 info)
457457
GRE tunnels with enabled checksum. Tell them "thank you".
458458
459459
Well, I wonder, rfc1812 was written by Cisco employee,
460-
what the hell these idiots break standrads established
461-
by themself???
460+
what the hell these idiots break standards established
461+
by themselves???
462462
*/
463463

464464
const struct iphdr *iph = (const struct iphdr *)skb->data;

0 commit comments

Comments
 (0)