Re: [PATCH net-next 1/2] tun: reserve extra headroom only when XDP is set

From: David Miller
Date: Tue Sep 05 2017 - 17:27:02 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Mon, 4 Sep 2017 11:36:08 +0800

> 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@xxxxx>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Applied.