aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorIlan Tayari <[email protected]>2017-08-01 12:49:09 +0300
committerSteffen Klassert <[email protected]>2017-08-02 11:00:15 +0200
commit7e9e9202bccc3a8224ae10ad5d69cac8627f9c7b (patch)
tree690049e1215a69ab23f1bd89e3b06cad6ac6a121 /tools/perf/scripts/python/bin/stackcollapse-record
parentffdb5211da1c20354f1b40c204b6cf6c29c68161 (diff)
xfrm: Clear RX SKB secpath xfrm_offload
If an incoming packet undergoes XFRM crypto-offload, its secpath is filled with xfrm_offload struct denoting offload information. If the SKB is then forwarded to a device which supports crypto- offload, the stack wrongfully attempts to offload it (even though the output SA may not exist on the device) due to the leftover secpath xo. Clear the ingress xo by zeroizing secpath->olen just before delivering the decapsulated packet to the network stack. Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Signed-off-by: Ilan Tayari <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions