[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161003.214536.1564485172411156614.davem@davemloft.net>
Date: Mon, 03 Oct 2016 21:45:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: shmulik.ladkani@...il.com
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, edumazet@...gle.com,
daniel@...earbox.net, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH v3 net-next 4/4] net/sched: act_mirred: Implement
ingress actions
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
Date: Thu, 29 Sep 2016 14:03:32 +0300
> skb2->skb_iif = skb->dev->ifindex;
> skb2->dev = dev;
> - err = dev_queue_xmit(skb2);
> + if (tcf_mirred_act_direction(m_eaction) & AT_EGRESS)
> + err = dev_queue_xmit(skb2);
> + else
> + netif_receive_skb(skb2);
Can you address the feedback about lack of checking the return
value of netif_receive_skb()? It seems like a legitimate issue,
thanks.
Powered by blists - more mailing lists