aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2017-11-10 14:14:06 +1100
committerSteffen Klassert <[email protected]>2017-11-14 07:00:47 +0100
commit0e74aa1d79a5bbc663e03a2804399cae418a0321 (patch)
tree64b09a5e527e0e1d1b51b8eaec8abb9491cfc4f4 /tools/perf/scripts/python/export-to-postgresql.py
parentb39545684a90ef3374abc0969d64c7bc540d128d (diff)
xfrm: Copy policy family in clone_policy
The syzbot found an ancient bug in the IPsec code. When we cloned a socket policy (for example, for a child TCP socket derived from a listening socket), we did not copy the family field. This results in a live policy with a zero family field. This triggers a BUG_ON check in the af_key code when the cloned policy is retrieved. This patch fixes it by copying the family field over. Reported-by: syzbot <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions