commit | c05fad5713b81b049ec6ac4eb2d304030b1efdce | [log] [tgz] |
---|---|---|
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | Fri Dec 15 10:46:16 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 15 14:10:39 2017 -0500 |
tree | cef6c8af0d596b155329b1508fe754c13894f65a | |
parent | c647c0d62c82eb3ddf78a0d8b3d58819d9f552aa [diff] |
ip_gre: fix wrong return value of erspan_rcv If pskb_may_pull return failed, return PACKET_REJECT instead of -ENOMEM. Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") Cc: William Tu <u9012063@gmail.com> Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Acked-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>