Commit e1e78db6 authored by Committed by David S. MillerBrowse files
offloading: Make scatter/gather more tolerant of vlans.
When checking if it is necessary to linearize a packet, we currently use vlan_features if the packet contains either an in-band or out- of-band vlan tag. However, in-band tags aren't special in any way for scatter/gather since they are part of the packet buffer and are simply more data to DMA. Therefore, only use vlan_features for out- of-band tags, which could potentially have some interaction with scatter/gather. Signed-off-by: Jesse Gross <firstname.lastname@example.org> CC: Ben Hutchings <email@example.com> Reviewed-by: Ben Hutchings <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>