Re: [PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-06 Thread Jason Wang
On 2016年12月07日 11:25, David Miller wrote: From: Jason Wang Date: Wed, 7 Dec 2016 11:21:11 +0800 David, looks like this commit is not in net-next.git. Please help to check. Take a look, it should be there now. Yes, thanks.

Re: [PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-06 Thread Jason Wang
On 2016年12月02日 03:43, David Miller wrote: From: Andrey Konovalov Date: Thu, 1 Dec 2016 10:34:40 +0100 This patch changes tun.c to call netif_receive_skb instead of netif_rx when a packet is received (if CONFIG_4KSTACKS is not enabled to avoid stack exhaustion). The

Re: [PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-06 Thread David Miller
From: Jason Wang Date: Wed, 7 Dec 2016 11:21:11 +0800 > David, looks like this commit is not in net-next.git. > > Please help to check. Take a look, it should be there now.

Re: [PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-01 Thread David Miller
From: Andrey Konovalov Date: Thu, 1 Dec 2016 10:34:40 +0100 > This patch changes tun.c to call netif_receive_skb instead of netif_rx > when a packet is received (if CONFIG_4KSTACKS is not enabled to avoid > stack exhaustion). The difference between the two is that

Re: [PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-01 Thread Michael S. Tsirkin
On Thu, Dec 01, 2016 at 10:34:40AM +0100, Andrey Konovalov wrote: > This patch changes tun.c to call netif_receive_skb instead of netif_rx > when a packet is received (if CONFIG_4KSTACKS is not enabled to avoid > stack exhaustion). The difference between the two is that netif_rx queues > the

Re: [PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-01 Thread Jason Wang
On 2016年12月01日 17:34, Andrey Konovalov wrote: This patch changes tun.c to call netif_receive_skb instead of netif_rx when a packet is received (if CONFIG_4KSTACKS is not enabled to avoid stack exhaustion). The difference between the two is that netif_rx queues the packet into the backlog, and

[PATCH v2] tun: Use netif_receive_skb instead of netif_rx

2016-12-01 Thread Andrey Konovalov
This patch changes tun.c to call netif_receive_skb instead of netif_rx when a packet is received (if CONFIG_4KSTACKS is not enabled to avoid stack exhaustion). The difference between the two is that netif_rx queues the packet into the backlog, and netif_receive_skb proccesses the packet in the