]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit119a80ee1764b95769fe286bb2c04bdea9448d1c
tree733dfd9b87e691fd28bd12b52c3a9ebb99c81e3e
parenta39b5df42eea389412765bb948497f4bdb105048
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