net: Handle encapsulated offloads before fragmentation or handing to lower dev
commitfc70fb640b159f1d6bf5ad2321cd55e874c8d1b8
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 7 Dec 2012 14:14:15 +0000 (7 14:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2012 05:20:28 +0000 (9 00:20 -0500)
tree5c3b02210c6fe0a6c290869ce35c73bc010d8cd7
parent6a674e9c75b17e7a88ff15b3c2e269eed54f7cfb
net: Handle encapsulated offloads before fragmentation or handing to lower dev

This change allows the VXLAN to enable Tx checksum offloading even on
devices that do not support encapsulated checksum offloads. The
advantage to this is that it allows for the lower device to change due
to routing table changes without impacting features on the VXLAN itself.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/ipv4/ip_output.c