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-prev] [day] [month] [year] [list]
Message-ID: <8e75beb6-ba0f-79f3-2d24-018656226b1e@redhat.com>
Date:   Fri, 2 Mar 2018 17:27:22 +0800
From:   Jason Wang <jasowang@...hat.com>
To:     Jesper Dangaard Brouer <brouer@...hat.com>
Cc:     mst@...hat.com, virtualization@...ts.linux-foundation.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        john.fastabend@...il.com
Subject: Re: [PATCH net] virtio-net: re enable XDP_REDIRECT for mergeable
 buffer



On 2018年03月02日 15:05, Jesper Dangaard Brouer wrote:
> On Fri,  2 Mar 2018 14:25:29 +0800
> Jason Wang <jasowang@...hat.com> wrote:
>
>> @@ -770,6 +774,19 @@ static struct sk_buff *receive_mergeable(struct net_device *dev,
>>   				goto err_xdp;
>>   			rcu_read_unlock();
>>   			goto xdp_xmit;
>> +		case XDP_REDIRECT:
>> +			err = xdp_do_redirect(dev, &xdp, xdp_prog);
>> +			if (err) {
>> +				trace_xdp_exception(vi->dev, xdp_prog, act);
> Do not add a trace_xdp_exception here... this is handled inside
> xdp_do_redirect() invocation.
>
>

Right, let me post V2.

Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ