diff options
| author | Doron Roberts-Kedes <[email protected]> | 2018-07-02 10:25:05 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-03 23:26:47 +0900 |
| commit | 52ee6ef36ee10dd493cf2067311e56ca8015eb8d (patch) | |
| tree | 3f6755391f5b5e541167ebd8a8c14065d9eeefb9 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c643ecf354e25ceeae14add9064d4d6253d75577 (diff) | |
tls: fix skb_to_sgvec returning unhandled error.
The current code does not inspect the return value of skb_to_sgvec. This
can cause a nullptr kernel panic when the malformed sgvec is passed into
the crypto request.
Checking the return value of skb_to_sgvec and skipping decryption if it
is negative fixes this problem.
Fixes: c46234ebb4d1 ("tls: RX path for ktls")
Acked-by: Dave Watson <[email protected]>
Signed-off-by: Doron Roberts-Kedes <[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