On Fri, Feb 04, 2011 at 01:35:47PM -0800, Jesse Gross wrote: > Currently IPv4 uses the length of the packet in the IP header > and IPv6 uses actual length of the packet for path MTU discovery. > This changes both to use the length of the packet to be consistent > with each other and the the Linux IP stack and also to match what > actually causes fragmentation. > > Signed-off-by: Jesse Gross <[email protected]>
Acked-by: Ben Pfaff <[email protected]> The formatting remains ugly, though. Prettier version: packet_length = skb->len - ETH_HLEN; if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)) packet_length -= VLAN_HLEN; _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
