diff options
author | Edward Cree <[email protected]> | 2018-07-09 18:10:02 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-07-09 14:55:53 -0700 |
commit | 9f17dbf04ddf55ae48f5bbafea4c4920ea943215 (patch) | |
tree | 0e2468ae6bb598bdba17d3679d74c9b00a8034b6 /tools/perf/scripts/python | |
parent | 8c057efaebb557b60ba514b5e39e8000a1eab0f1 (diff) |
netfilter: fix use-after-free in NF_HOOK_LIST
nf_hook() can free the skb, so we need to remove it from the list before
calling, and add passed skbs to a sublist afterwards.
Fixes: 17266ee93984 ("net: ipv4: listified version of ip_rcv")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Edward Cree <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions