On Fri, 2 Mar 2018 14:25:29 +0800
Jason Wang <jasowang@xxxxxxxxxx> wrote:
@@ -770,6 +774,19 @@ static struct sk_buff *receive_mergeable(struct net_device *dev,Do not add a trace_xdp_exception here... this is handled inside
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);
xdp_do_redirect() invocation.