lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Jun 2013 16:48:03 +0300
From:	Andy Johnson <johnsonzjo@...il.com>
To:	netdev@...r.kernel.org
Subject: skb_is_gso() in ip_forward.c

Hi,

I would appreciate if someone can explain the following :

We have this in net/ipv4/ip_forward():
...
 if (unlikely(skb->len > dst_mtu(&rt->dst) && !skb_is_gso(skb) &&
  ...
  icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED,
                            htonl(dst_mtu(&rt->dst)));
                  goto drop;
          }
...

As I understand, it the traffic is GSO and the length of the skb is
larger than the MTU, we don't send destination unreachable ICMP and
we continue with forwarding the packet. My qustion is: why is it so ?
is it because when working with GSO the size of skb->len is not the
size of the packet which is sent on the wire ? The what does it
represent when the traffic is GSO ?
I would appreaicate if someone can elaborate on this.


Best
Andy
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ