summaryrefslogtreecommitdiff
path: root/net/atm/mpoa_caches.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2011-01-09 06:23:34 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-01-10 07:35:35 (GMT)
commit02932ce9e2c136e6fab2571c8e0dd69ae8ec9853 (patch)
treefd79af457060855375d9297755c48f5105912638 /net/atm/mpoa_caches.c
parent91ecb63c074d802f8cf103f1dafb4aed24d0f24c (diff)
downloadlinux-02932ce9e2c136e6fab2571c8e0dd69ae8ec9853.tar.xz
net offloading: Convert skb_need_linearize() to use precomputed features.
This switches skb_need_linearize() to use the features that have been centrally computed. In doing so, this fixes a problem where scatter/gather should not be used because the card does not support checksum offloading on that type of packet. On device registration we only check that some form of checksum offloading is available if scatter/gatther is enabled but we must also check at transmission time. Examples of this include IPv6 or vlan packets on a NIC that only supports IPv4 offloading. Signed-off-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/mpoa_caches.c')
0 files changed, 0 insertions, 0 deletions