Simon Horman
3d7b332092
gre: set inner_protocol on xmit
...
Ensure that the inner_protocol is set on transmit so that GSO segmentation,
which relies on that field, works correctly.
This is achieved by setting the inner_protocol in gre_build_header rather
than each caller of that function. It ensures that the inner_protocol is
set when gre_fb_xmit() is used to transmit GRE which was not previously the
case.
I have observed this is not the case when OvS transmits GRE using
lwtunnel metadata (which it always does).
Fixes: 38720352412a ("gre: Use inner_proto to obtain inner header protocol")
Cc: Pravin Shelar <pshelar@ovn.org>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-15 13:37:12 -07:00
..
2016-07-18 21:35:23 +02:00
2016-07-11 22:44:26 -07:00
2015-08-25 13:38:50 -07:00
2016-04-27 22:48:24 -04:00
2016-07-07 10:15:34 +10:00
2015-07-29 22:44:04 -07:00
2016-07-09 18:12:25 -04:00
2016-06-23 11:52:00 -04:00
2016-05-06 15:51:47 -04:00
2015-07-24 22:46:11 -07:00
2016-06-08 11:36:02 -07:00
2016-07-11 13:41:09 -07:00
2016-08-06 00:10:05 -04:00
2016-06-07 23:51:14 -07:00
2016-06-30 05:03:36 -04:00
2016-05-20 18:03:15 -04:00
2016-04-27 22:48:23 -04:00
2016-03-08 12:34:12 -05:00
2016-07-07 10:35:06 +02:00
2016-06-28 05:25:04 -04:00
2016-06-05 22:56:42 -04:00
2016-05-04 00:52:29 -04:00
2016-07-07 10:35:06 +02:00
2015-08-28 13:32:36 -07:00
2016-07-19 16:40:22 -07:00
2016-04-27 22:48:23 -04:00
2016-08-15 13:37:12 -07:00
2016-05-11 19:31:40 -04:00
2016-03-01 17:18:44 -05:00
2016-07-19 16:40:22 -07:00
2016-05-16 13:46:23 -04:00
2016-07-19 16:40:22 -07:00
2016-06-15 21:39:59 -07:00
2016-08-09 12:57:49 -07:00
2015-04-03 12:11:15 -04:00
2016-06-11 20:40:24 -07:00
2016-07-09 17:45:56 -04:00
2016-07-26 15:18:31 -07:00
2016-06-10 23:07:49 -07:00
2016-06-10 23:07:49 -07:00
2015-09-29 20:21:32 +02:00
2016-04-04 15:50:30 -04:00
2016-02-16 20:42:54 -05:00
2016-04-04 15:50:30 -04:00
2016-05-09 22:33:52 -04:00
2016-04-27 22:48:24 -04:00
2016-05-23 14:32:06 -07:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2015-09-25 13:00:38 -07:00
2016-05-11 14:43:19 -04:00
2016-06-14 23:46:30 -07:00
2015-12-15 23:26:52 -05:00
2016-05-02 17:02:25 -04:00
2015-07-09 14:22:52 -07:00
2016-05-11 14:43:19 -04:00
2015-07-09 14:22:52 -07:00
2016-05-11 14:43:19 -04:00
2016-07-29 17:38:46 -07:00
2016-07-01 04:02:55 -04:00
2016-05-11 14:43:19 -04:00
2016-04-23 20:13:24 -04:00
2016-05-02 17:02:25 -04:00
2016-06-10 23:07:49 -07:00
2016-05-20 18:03:15 -04:00
2016-07-30 21:21:57 -07:00
2016-03-01 17:18:44 -05:00
2016-05-02 17:02:25 -04:00
2015-07-09 14:22:52 -07:00
2016-07-15 23:18:14 -07:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-07-01 04:02:55 -04:00
2016-07-11 13:27:06 -07:00
2016-04-04 22:11:19 -04:00
2016-05-20 18:03:15 -04:00
2016-06-17 20:23:32 -07:00
2016-07-25 21:40:33 -07:00
2015-09-17 17:18:37 -07:00
2015-10-24 06:54:12 -07:00
2016-06-16 22:06:30 -07:00