diff options
author | Ross Lagerwall <[email protected]> | 2019-01-17 15:34:38 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-01-18 14:05:14 -0800 |
commit | 6c57f0458022298e4da1729c67bd33ce41c14e7a (patch) | |
tree | c56bc8518423b39cabbda138327a313262ea1e9e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e40e2a2e78664fa90ea4b9bdf4a84efce2fea9d9 (diff) |
net: Fix usage of pskb_trim_rcsum
In certain cases, pskb_trim_rcsum() may change skb pointers.
Reinitialize header pointers afterwards to avoid potential
use-after-frees. Add a note in the documentation of
pskb_trim_rcsum(). Found by KASAN.
Signed-off-by: Ross Lagerwall <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions