On Tue, May 7, 2013 at 10:52 AM, Jarno Rajahalme
<jarno.rajaha...@nsn.com> wrote:
> vport->send functions must free the skbs they themselves report as
> dropped (return 0).
>
> Signed-off-by: Jarno Rajahalme <jarno.rajaha...@nsn.com>
Thanks for fix.
I pushed it to master.

> ---
>  datapath/vport-lisp.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/datapath/vport-lisp.c b/datapath/vport-lisp.c
> index ca2b441..3d0a315 100644
> --- a/datapath/vport-lisp.c
> +++ b/datapath/vport-lisp.c
> @@ -377,6 +377,7 @@ static int lisp_tnl_send(struct vport *vport, struct 
> sk_buff *skb)
>                                 LISP_HLEN, lisp_build_header);
>                 return tnl_len > 0 ? tnl_len + network_offset : tnl_len;
>         default:
> +               kfree_skb(skb);
>                 return 0;
>         }
>  }
> --
> 1.7.10.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to