Re: [PATCH] ip_gre: fix wrong return value of erspan_rcv

2017-12-15 Thread David Miller
From: Haishuang Yan Date: Fri, 15 Dec 2017 10:46:16 +0800 > If pskb_may_pull return failed, return PACKET_REJECT instead of -ENOMEM. > > Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") > Cc: William Tu > Signed-off-by: Haishuang Yan Applied.

Re: [PATCH] ip_gre: fix wrong return value of erspan_rcv

2017-12-15 Thread William Tu
On Thu, Dec 14, 2017 at 6:46 PM, Haishuang Yan wrote: > If pskb_may_pull return failed, return PACKET_REJECT instead of -ENOMEM. > > Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") > Cc: William Tu > Signed-off-by: Haishuang Yan > --- Thanks for the patch. I think the ot

[PATCH] ip_gre: fix wrong return value of erspan_rcv

2017-12-14 Thread Haishuang Yan
If pskb_may_pull return failed, return PACKET_REJECT instead of -ENOMEM. Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") Cc: William Tu Signed-off-by: Haishuang Yan --- net/ipv4/ip_gre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/ip_gre.