Re: [PATCH v1 net] net: use skb_clone to avoid alloc_pages failure.

2015-11-17 Thread David Miller
From: martinbj2...@gmail.com Date: Tue, 17 Nov 2015 20:49:30 +0800 > From: Martin Zhang > > 1. new skb only need dst and ip address(v4 or v6). > 2. skb_copy may need high order pages, which is very rare on long running > server. > > Signed-off-by: Junwei Zhang > Signed-off-by: Martin Zhang

Re: [PATCH v1 net] net: use skb_clone to avoid alloc_pages failure.

2015-11-17 Thread Eric Dumazet
On Tue, 2015-11-17 at 05:07 -0800, Eric Dumazet wrote: > On Tue, 2015-11-17 at 20:49 +0800, martinbj2...@gmail.com wrote: > > From: Martin Zhang > > > > 1. new skb only need dst and ip address(v4 or v6). > > 2. skb_copy may need high order pages, which is very rare on long running > > server. >

Re: [PATCH v1 net] net: use skb_clone to avoid alloc_pages failure.

2015-11-17 Thread Eric Dumazet
On Tue, 2015-11-17 at 20:49 +0800, martinbj2...@gmail.com wrote: > From: Martin Zhang > > 1. new skb only need dst and ip address(v4 or v6). > 2. skb_copy may need high order pages, which is very rare on long running > server. > > Signed-off-by: Junwei Zhang > Signed-off-by: Martin Zhang > --

[PATCH v1 net] net: use skb_clone to avoid alloc_pages failure.

2015-11-17 Thread martinbj2008
From: Martin Zhang 1. new skb only need dst and ip address(v4 or v6). 2. skb_copy may need high order pages, which is very rare on long running server. Signed-off-by: Junwei Zhang Signed-off-by: Martin Zhang --- net/core/neighbour.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif