diff options
author | William Tu <[email protected]> | 2017-12-15 14:27:43 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-18 15:11:25 -0500 |
commit | ae3e13373b879670d873e5657a903bd208f0dc40 (patch) | |
tree | 90eaf8a48762d72aef82758d5961159a042e14af /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 814a17841325643e2d08984d076f976a0b423872 (diff) |
net: erspan: fix wrong return value
If pskb_may_pull return failed, return PACKET_REJECT
instead of -ENOMEM.
Fixes: 94d7d8f29287 ("ip6_gre: add erspan v2 support")
Fixes: f551c91de262 ("net: erspan: introduce erspan v2 for ip_gre")
Signed-off-by: William Tu <[email protected]>
Cc: Haishuang Yan <[email protected]>
Acked-by: Haishuang Yan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions