[ovs-dev] [PATCH 3/5] datapath: Move generic tunnel functions to lisp module.
Pravin Shelar
pshelar at nicira.com
Thu Aug 15 03:07:12 UTC 2013
Thanks.
I pushed first three patches to master.
On Tue, Aug 13, 2013 at 5:44 PM, Jesse Gross <jesse at nicira.com> wrote:
> On Mon, Jul 29, 2013 at 3:47 PM, Pravin B Shelar <pshelar at nicira.com>
> wrote:
> > diff --git a/datapath/vport-lisp.c b/datapath/vport-lisp.c
> > index 6027a16..6e37b2f 100644
> > --- a/datapath/vport-lisp.c
> > +++ b/datapath/vport-lisp.c
> > +static struct sk_buff *handle_offloads(struct sk_buff *skb)
> > +{
> > + int err;
> > +
> > + forward_ip_summed(skb, true);
> > +
> > + if (skb_is_gso(skb)) {
> > + struct sk_buff *nskb;
> > +
> > + nskb = __skb_gso_segment(skb, 0, false);
> > + if (IS_ERR(nskb)) {
> > + err = PTR_ERR(nskb);
> > + goto error;
> > + }
> > +
> > + consume_skb(skb);
> > + skb = nskb;
>
> I realize that this patch was sent out before support for Linux 3.9
> was committed but we shouldn't forget to do the skb->cb replication
> here as well.
>
> Acked-by: Jesse Gross <jesse at nicira.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130814/511c54e6/attachment-0003.html>
More information about the dev
mailing list