Message ID | 1364016584-7189-1-git-send-email-amwang@redhat.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
Hello. On 23-03-2013 9:29, Cong Wang wrote: > From: Cong Wang <amwang@redhat.com> > Pravin pointed out the inner network header of a GRE tunnel packet > could be IPv6, where there is no ID. So we should check the version. > Cc: Pravin B Shelar <pshelar@nicira.com> > Cc: Eric Dumazet <edumazet@google.com> > Cc: "David S. Miller" <davem@davemloft.net> > Signed-off-by: Cong Wang <amwang@redhat.com> > --- > diff --git a/net/ipv4/gre.c b/net/ipv4/gre.c > index e20631c..a2516f5 100644 > --- a/net/ipv4/gre.c > +++ b/net/ipv4/gre.c [...] > @@ -172,7 +172,12 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, > skb->mac_len = skb_inner_network_offset(skb); > > iph = ip_hdr(skb); > - id = ntohs(iph->id); > + if (iph->version == 4) { > + ipv4 = true; > + id = ntohs(iph->id); > + } else > + ipv4 = false; Both arms of *if* statement should have {}, according to Documentation/CodingStyle chapter 3. WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Mar 22, 2013 at 10:29 PM, Cong Wang <amwang@redhat.com> wrote: > From: Cong Wang <amwang@redhat.com> > > Pravin pointed out the inner network header of a GRE tunnel packet > could be IPv6, where there is no ID. So we should check the version. > inet_gso_segment() already increment ip-header identification. What is problem with that? > Cc: Pravin B Shelar <pshelar@nicira.com> > Cc: Eric Dumazet <edumazet@google.com> > Cc: "David S. Miller" <davem@davemloft.net> > Signed-off-by: Cong Wang <amwang@redhat.com> > > --- > diff --git a/net/ipv4/gre.c b/net/ipv4/gre.c > index e20631c..a2516f5 100644 > --- a/net/ipv4/gre.c > +++ b/net/ipv4/gre.c > @@ -128,7 +128,7 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, > struct iphdr *iph; > int mac_len = skb->mac_len; > int tnl_hlen, id; > - bool csum; > + bool csum, ipv4; > > if (unlikely(skb_shinfo(skb)->gso_type & > ~(SKB_GSO_TCPV4 | > @@ -172,7 +172,12 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, > skb->mac_len = skb_inner_network_offset(skb); > > iph = ip_hdr(skb); > - id = ntohs(iph->id); > + if (iph->version == 4) { > + ipv4 = true; > + id = ntohs(iph->id); > + } else > + ipv4 = false; > + > /* segment inner packet. */ > enc_features = skb->dev->hw_enc_features & netif_skb_features(skb); > segs = skb_mac_gso_segment(skb, enc_features); > @@ -182,8 +187,10 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, > skb = segs; > tnl_hlen = skb_tnl_header_len(skb); > do { > - iph = (struct iphdr *)skb->data; > - iph->id = htons(id++); > + if (ipv4) { > + iph = (struct iphdr *)skb->data; > + iph->id = htons(id++); > + } > __skb_push(skb, ghl); > if (csum) { > __be32 *pcsum; -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, 2013-03-23 at 16:36 -0700, Pravin Shelar wrote: > On Fri, Mar 22, 2013 at 10:29 PM, Cong Wang <amwang@redhat.com> wrote: > > From: Cong Wang <amwang@redhat.com> > > > > Pravin pointed out the inner network header of a GRE tunnel packet > > could be IPv6, where there is no ID. So we should check the version. > > > > inet_gso_segment() already increment ip-header identification. What is > problem with that? Let tcpdump speak: (Inner ID is always 3b65 without my patch) 10:30:59.110846 IP 192.168.122.75 > 192.168.122.7: GREv0, length 1480: IP 192.168.1.1.59705 > 192.168.2.1.54661: Flags [.], seq 2848:4272, ack 1, win 113, options [nop,nop,TS val 4294921743 ecr 4294921071], length 1424 0x0000: 5254 00e1 3ea0 5254 008c 9a65 0800 4500 0x0010: 05dc 0000 4000 402f bf4f c0a8 7a4b c0a8 0x0020: 7a07 0000 0800 4500 05c4 3b65 4000 4006 0x0030: 757c c0a8 0101 c0a8 0201 e939 d585 5f3a 0x0040: 78cb c786 1b40 8010 0071 aad5 0000 0101 0x0050: 080a ffff 4e0f ffff 4b6f 6e65 7470 6572 0x0060: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0070: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0080: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0090: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0100: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0110: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0120: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0130: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0140: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0150: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0160: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0170: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0180: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0190: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0200: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0210: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0220: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0230: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0240: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0250: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0260: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0270: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0280: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0290: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0300: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0310: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0320: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0330: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0340: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0350: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0360: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0370: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0380: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0390: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0400: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0410: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0420: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0430: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0440: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0450: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0460: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0470: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0480: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0490: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0500: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0510: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0520: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0530: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0540: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0550: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0560: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0570: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0580: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0590: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05e0: 6600 6e65 7470 6572 6600 10:30:59.110949 IP 192.168.122.75 > 192.168.122.7: GREv0, length 1480: IP 192.168.1.1.59705 > 192.168.2.1.54661: Flags [.], seq 4272:5696, ack 1, win 113, options [nop,nop,TS val 4294921743 ecr 4294921071], length 1424 0x0000: 5254 00e1 3ea0 5254 008c 9a65 0800 4500 0x0010: 05dc 0000 4000 402f bf4f c0a8 7a4b c0a8 0x0020: 7a07 0000 0800 4500 05c4 3b65 4000 4006 0x0030: 757c c0a8 0101 c0a8 0201 e939 d585 5f3a 0x0040: 7e5b c786 1b40 8010 0071 a545 0000 0101 0x0050: 080a ffff 4e0f ffff 4b6f 6e65 7470 6572 0x0060: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0070: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0080: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0090: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0100: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0110: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0120: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0130: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0140: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0150: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0160: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0170: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0180: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0190: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0200: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0210: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0220: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0230: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0240: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0250: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0260: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0270: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0280: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0290: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0300: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0310: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0320: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0330: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0340: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0350: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0360: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0370: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0380: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0390: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0400: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0410: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0420: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0430: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0440: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0450: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0460: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0470: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0480: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0490: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0500: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0510: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0520: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0530: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0540: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0550: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0560: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0570: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0580: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0590: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05e0: 6600 6e65 7470 6572 6600 10:30:59.111029 IP 192.168.122.75 > 192.168.122.7: GREv0, length 1480: IP 192.168.1.1.59705 > 192.168.2.1.54661: Flags [.], seq 5696:7120, ack 1, win 113, options [nop,nop,TS val 4294921743 ecr 4294921071], length 1424 0x0000: 5254 00e1 3ea0 5254 008c 9a65 0800 4500 0x0010: 05dc 0000 4000 402f bf4f c0a8 7a4b c0a8 0x0020: 7a07 0000 0800 4500 05c4 3b65 4000 4006 0x0030: 757c c0a8 0101 c0a8 0201 e939 d585 5f3a 0x0040: 83eb c786 1b40 8010 0071 9fb5 0000 0101 0x0050: 080a ffff 4e0f ffff 4b6f 6e65 7470 6572 0x0060: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0070: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0080: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0090: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0100: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0110: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0120: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0130: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0140: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0150: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0160: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0170: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0180: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0190: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0200: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0210: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0220: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0230: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0240: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0250: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0260: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0270: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0280: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0290: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0300: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0310: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0320: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0330: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0340: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0350: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0360: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0370: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0380: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0390: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0400: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0410: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0420: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0430: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0440: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0450: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0460: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0470: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0480: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0490: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0500: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0510: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0520: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0530: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0540: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0550: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0560: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0570: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0580: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0590: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05e0: 6600 6e65 7470 6572 6600 10:30:59.111055 IP 192.168.122.75 > 192.168.122.7: GREv0, length 1480: IP 192.168.1.1.59705 > 192.168.2.1.54661: Flags [.], seq 7120:8544, ack 1, win 113, options [nop,nop,TS val 4294921743 ecr 4294921071], length 1424 0x0000: 5254 00e1 3ea0 5254 008c 9a65 0800 4500 0x0010: 05dc 0000 4000 402f bf4f c0a8 7a4b c0a8 0x0020: 7a07 0000 0800 4500 05c4 3b65 4000 4006 0x0030: 757c c0a8 0101 c0a8 0201 e939 d585 5f3a 0x0040: 897b c786 1b40 8010 0071 9a25 0000 0101 0x0050: 080a ffff 4e0f ffff 4b6f 6e65 7470 6572 0x0060: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0070: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0080: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0090: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0100: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0110: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0120: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0130: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0140: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0150: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0160: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0170: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0180: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0190: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0200: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0210: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0220: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0230: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0240: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0250: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0260: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0270: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0280: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0290: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0300: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0310: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0320: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0330: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0340: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0350: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0360: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0370: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0380: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0390: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0400: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0410: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0420: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0430: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0440: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0450: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0460: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0470: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0480: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0490: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0500: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0510: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0520: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0530: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0540: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0550: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0560: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0570: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0580: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0590: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05e0: 6600 6e65 7470 6572 6600 10:30:59.111133 IP 192.168.122.75 > 192.168.122.7: GREv0, length 1480: IP 192.168.1.1.59705 > 192.168.2.1.54661: Flags [.], seq 8544:9968, ack 1, win 113, options [nop,nop,TS val 4294921743 ecr 4294921071], length 1424 0x0000: 5254 00e1 3ea0 5254 008c 9a65 0800 4500 0x0010: 05dc 0000 4000 402f bf4f c0a8 7a4b c0a8 0x0020: 7a07 0000 0800 4500 05c4 3b65 4000 4006 0x0030: 757c c0a8 0101 c0a8 0201 e939 d585 5f3a 0x0040: 8f0b c786 1b40 8010 0071 9495 0000 0101 0x0050: 080a ffff 4e0f ffff 4b6f 6e65 7470 6572 0x0060: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0070: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0080: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0090: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0100: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0110: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0120: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0130: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0140: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0150: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0160: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0170: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0180: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0190: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0200: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0210: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0220: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0230: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0240: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0250: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0260: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0270: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0280: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0290: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0300: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0310: 6600 6 0x0320: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0330: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0340: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0350: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0360: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0370: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0380: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0390: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0400: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0410: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0420: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0430: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0440: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0450: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0460: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0470: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0480: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0490: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0500: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0510: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0520: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0530: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0540: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0550: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0560: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0570: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0580: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0590: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05e0: 6600 6e65 7470 6572 6600 10:30:59.111157 IP 192.168.122.75 > 192.168.122.7: GREv0, length 1480: IP 192.168.1.1.59705 > 192.168.2.1.54661: Flags [.], seq 9968:11392, ack 1, win 113, options [nop,nop,TS val 4294921743 ecr 4294921071], length 1424 0x0000: 5254 00e1 3ea0 5254 008c 9a65 0800 4500 0x0010: 05dc 0000 4000 402f bf4f c0a8 7a4b c0a8 0x0020: 7a07 0000 0800 4500 05c4 3b65 4000 4006 0x0030: 757c c0a8 0101 c0a8 0201 e939 d585 5f3a 0x0040: 949b c786 1b40 8010 0071 8f05 0000 0101 0x0050: 080a ffff 4e0f ffff 4b6f 6e65 7470 6572 0x0060: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0070: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0080: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0090: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x00f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0100: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0110: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0120: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0130: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0140: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0150: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0160: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0170: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0180: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0190: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x01f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0200: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0210: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0220: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0230: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0240: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0250: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0260: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0270: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0280: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0290: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x02f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0300: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0310: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0320: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0330: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0340: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0350: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0360: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0370: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0380: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0390: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x03f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0400: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0410: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0420: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0430: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0440: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0450: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0460: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0470: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0480: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0490: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04e0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x04f0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0500: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0510: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0520: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0530: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0540: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0550: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0560: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0570: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0580: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x0590: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05a0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05b0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05c0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05d0: 6600 6e65 7470 6572 6600 6e65 7470 6572 0x05e0: 6600 6e65 7470 6572 6600 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Mar 23, 2013 at 7:37 PM, Cong Wang <amwang@redhat.com> wrote: > On Sat, 2013-03-23 at 16:36 -0700, Pravin Shelar wrote: >> On Fri, Mar 22, 2013 at 10:29 PM, Cong Wang <amwang@redhat.com> wrote: >> > From: Cong Wang <amwang@redhat.com> >> > >> > Pravin pointed out the inner network header of a GRE tunnel packet >> > could be IPv6, where there is no ID. So we should check the version. >> > >> >> inet_gso_segment() already increment ip-header identification. What is >> problem with that? > > Let tcpdump speak: > > (Inner ID is always 3b65 without my patch) > Thanks for report. I just sent out fix, Can you please try that. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv4/gre.c b/net/ipv4/gre.c index e20631c..a2516f5 100644 --- a/net/ipv4/gre.c +++ b/net/ipv4/gre.c @@ -128,7 +128,7 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, struct iphdr *iph; int mac_len = skb->mac_len; int tnl_hlen, id; - bool csum; + bool csum, ipv4; if (unlikely(skb_shinfo(skb)->gso_type & ~(SKB_GSO_TCPV4 | @@ -172,7 +172,12 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, skb->mac_len = skb_inner_network_offset(skb); iph = ip_hdr(skb); - id = ntohs(iph->id); + if (iph->version == 4) { + ipv4 = true; + id = ntohs(iph->id); + } else + ipv4 = false; + /* segment inner packet. */ enc_features = skb->dev->hw_enc_features & netif_skb_features(skb); segs = skb_mac_gso_segment(skb, enc_features); @@ -182,8 +187,10 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb, skb = segs; tnl_hlen = skb_tnl_header_len(skb); do { - iph = (struct iphdr *)skb->data; - iph->id = htons(id++); + if (ipv4) { + iph = (struct iphdr *)skb->data; + iph->id = htons(id++); + } __skb_push(skb, ghl); if (csum) { __be32 *pcsum;