DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] kni: use netif_rx instead of netif_receive_skb in which ocurr deallock on userpace contex
@ 2014-07-10 17:04 Yao-Po Wang
  2014-07-11  7:45 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Yao-Po Wang @ 2014-07-10 17:04 UTC (permalink / raw)
  To: dev

---
 lib/librte_eal/linuxapp/kni/kni_net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c
index d3c0190..28cc5ab 100644
--- a/lib/librte_eal/linuxapp/kni/kni_net.c
+++ b/lib/librte_eal/linuxapp/kni/kni_net.c
@@ -179,7 +179,7 @@ kni_net_rx_normal(struct kni_dev *kni)
 			skb->ip_summed = CHECKSUM_UNNECESSARY;
 
 			/* Call netif interface */
-			netif_receive_skb(skb);
+			netif_rx(skb);
 
 			/* Update statistics */
 			kni->stats.rx_bytes += len;
-- 
2.0.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] kni: use netif_rx instead of netif_receive_skb in which ocurr deallock on userpace contex
  2014-07-10 17:04 [dpdk-dev] [PATCH] kni: use netif_rx instead of netif_receive_skb in which ocurr deallock on userpace contex Yao-Po Wang
@ 2014-07-11  7:45 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2014-07-11  7:45 UTC (permalink / raw)
  To: Yao-Po Wang; +Cc: dev

Hi,

Thank you for sending this patch.
Please, could you re-send it with a more detailed explanation and a
Signed-off-by line?

There is a how-to for patch contributions here:
	http://dpdk.org/dev#send


2014-07-11 01:04, Yao-Po Wang:
> ---
>  lib/librte_eal/linuxapp/kni/kni_net.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c
> b/lib/librte_eal/linuxapp/kni/kni_net.c index d3c0190..28cc5ab 100644
> --- a/lib/librte_eal/linuxapp/kni/kni_net.c
> +++ b/lib/librte_eal/linuxapp/kni/kni_net.c
> @@ -179,7 +179,7 @@ kni_net_rx_normal(struct kni_dev *kni)
>  			skb->ip_summed = CHECKSUM_UNNECESSARY;
> 
>  			/* Call netif interface */
> -			netif_receive_skb(skb);
> +			netif_rx(skb);
> 
>  			/* Update statistics */
>  			kni->stats.rx_bytes += len;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-11  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-10 17:04 [dpdk-dev] [PATCH] kni: use netif_rx instead of netif_receive_skb in which ocurr deallock on userpace contex Yao-Po Wang
2014-07-11  7:45 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).