net offloading: Convert dev_gso_segment() to use precomputed features.
authorJesse Gross <jesse@nicira.com>
Sun, 9 Jan 2011 06:23:33 +0000 (06:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 07:35:34 +0000 (23:35 -0800)
commit91ecb63c074d802f8cf103f1dafb4aed24d0f24c
treeb35dd6b8de64ceeeee22dad0ee8f2794a662d401
parentfc741216db156994c554ac31c1151fe0e00d8f0e
net offloading: Convert dev_gso_segment() to use precomputed features.

This switches dev_gso_segment() to use the device features computed
by the centralized routine.  In doing so, it fixes a problem where
it would always use dev->features, instead of those appropriate
to the number of vlan tags if any are present.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c