summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>2017-12-15 10:46:16 +0800
committerDavid S. Miller <davem@davemloft.net>2017-12-15 14:10:39 -0500
commitc05fad5713b81b049ec6ac4eb2d304030b1efdce (patch)
treecef6c8af0d596b155329b1508fe754c13894f65a /net/sched
parentc647c0d62c82eb3ddf78a0d8b3d58819d9f552aa (diff)
downloadlinux-c05fad5713b81b049ec6ac4eb2d304030b1efdce.tar.bz2
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>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions