[ovs-dev] [runt-flows 7/8] datapath: Fix default value of skb transport_header.

Jesse Gross jesse at nicira.com
Thu Aug 26 22:03:20 UTC 2010


On Fri, Aug 13, 2010 at 10:55 AM, Ben Pfaff <blp at nicira.com> wrote:
> @@ -353,7 +364,7 @@ int flow_extract(struct sk_buff *skb, u16 in_port, struct odp_flow_key *key)
>                        }
>                }
>        } else {
> -               skb_reset_transport_header(skb);
> +               skb->transport_header = skb->network_header;
>        }

We never set the transport header if we have a valid ARP header.  I
don't think it's necessary but then that makes me wonder why this is
necessary.




More information about the dev mailing list