summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2017-09-04 06:36:08 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-06 00:26:41 +0300
commit7df13219d757054c49b62417479a3724621ca8ae (patch)
tree2129c92584e1e80b460bb6ee7f9691d4bfe3b4f8 /tools
parent9e776f225dcf741ff7e91d866be752d1660d2073 (diff)
downloadlinux-7df13219d757054c49b62417479a3724621ca8ae.tar.xz
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 <kubakici@wp.pl> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions