From: Jesse Gross Date: Fri, 29 Oct 2010 12:14:53 +0000 (+0000) Subject: offloading: Make scatter/gather more tolerant of vlans. X-Git-Tag: v2.6.38-rc1~476^2~586 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1e78db628b33c657944865e3bca01ee59cc5b80;p=pandora-kernel.git 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 CC: Ben Hutchings Reviewed-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed