Skip to content

Commit

Permalink
fou: correct spelling of encapsulation
Browse files Browse the repository at this point in the history
Correct spelling of encapsulation.
Found by inspection.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Simon Horman authored and David S. Miller committed Apr 11, 2019
1 parent b8c7e2c commit c9d52f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv4/fou.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static int gue_udp_recv(struct sock *sk, struct sk_buff *skb)
break;

case 1: {
/* Direct encasulation of IPv4 or IPv6 */
/* Direct encapsulation of IPv4 or IPv6 */

int prot;

Expand Down Expand Up @@ -1137,7 +1137,7 @@ static int gue_err(struct sk_buff *skb, u32 info)
case 0: /* Full GUE header present */
break;
case 1: {
/* Direct encasulation of IPv4 or IPv6 */
/* Direct encapsulation of IPv4 or IPv6 */
skb_set_transport_header(skb, -(int)sizeof(struct icmphdr));

switch (((struct iphdr *)guehdr)->version) {
Expand Down

0 comments on commit c9d52f2

Please sign in to comment.