GRE: enable offloads for GRE
authorAmritha Nambiar <amritha.nambiar@intel.com>
Fri, 11 Jul 2014 00:29:21 +0000 (17:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jul 2014 20:53:39 +0000 (13:53 -0700)
commitd0a7ebbc119738439ff00f7fadbd343ae20ea5e8
tree733dfd9b87e691fd28bd12b52c3a9ebb99c81e3e
parent19eeb2f9e750f47c805f66e3b0e889b12557d80f
GRE: enable offloads for GRE

To get offloads to work with Generic Routing Encapsulation (GRE), the
outer transport header has to be reset after skb_push is done. This
patch has the support for this fix and hence GRE offloading.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Signed-off-by: Joseph Gasparakis <joseph.gasparakis@intel.com>
Tested-By: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_demux.c