diff options
author | Jason Wang <[email protected]> | 2017-09-04 11:36:08 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-09-05 14:26:41 -0700 |
commit | 7df13219d757054c49b62417479a3724621ca8ae (patch) | |
tree | 2129c92584e1e80b460bb6ee7f9691d4bfe3b4f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9e776f225dcf741ff7e91d866be752d1660d2073 (diff) |
tun: reserve extra headroom only when XDP is set
We reserve headroom unconditionally which could cause unnecessary
stress on socket memory accounting because of increased trusesize. Fix
this by only reserve extra headroom when XDP is set.
Cc: Jakub Kicinski <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions