Tom Herbert
14051f0452
gre: Use inner mac length when computing tunnel length
...
Currently, skb_inner_network_header is used but this does not account
for Ethernet header for ETH_P_TEB. Use skb_inner_mac_header which
handles TEB and also should work with IP encapsulation in which case
inner mac and inner network headers are the same.
Tested: Ran TCP_STREAM over GRE, worked as expected.
Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-30 19:51:56 -04:00
..
2014-08-07 11:44:18 -07:00
2014-10-15 10:25:04 +10:30
2014-07-15 16:12:48 -07:00
2014-10-07 13:22:11 -04:00
2014-07-16 14:09:34 -07:00
2014-10-07 13:22:11 -04:00
2014-04-11 16:15:36 -04:00
2014-10-14 02:18:24 +02:00
2014-10-02 13:41:57 +03:00
2014-10-24 14:24:03 +02:00
2014-10-14 16:05:45 -04:00
2014-05-19 09:38:24 +02:00
2014-10-15 06:46:01 +02:00
2014-10-26 22:47:23 -04:00
2014-07-30 17:21:05 -07:00
2014-10-18 09:31:37 -07:00
2014-08-22 12:23:11 -07:00
2014-10-01 00:44:04 +10:00
2014-10-28 15:27:54 -04:00
2014-09-05 17:47:02 -07:00
2014-07-11 15:04:40 -07:00
2014-10-05 21:34:39 -04:00
2014-10-30 19:51:56 -04:00
2014-10-29 14:35:32 -04:00
2014-05-23 16:28:53 -04:00
2014-09-30 17:08:06 -04:00
2014-09-10 12:40:10 -07:00
2014-07-15 16:27:00 -07:00
2014-09-19 15:57:15 -04:00
2014-09-28 07:05:16 -07:00
2014-10-20 16:37:01 +02:00
2014-10-08 21:40:54 -04:00
2014-10-20 12:38:12 -04:00
2014-10-27 22:17:46 +01:00
2014-10-09 01:40:05 -04:00
2014-10-21 21:34:49 -04:00
2014-10-17 23:52:54 -04:00
2014-09-24 02:02:24 +02:00
2014-10-20 12:38:13 -04:00
2014-09-01 17:39:55 -07:00
2014-10-06 18:16:30 -04:00
2014-10-18 09:31:37 -07:00
2014-10-09 11:16:15 +02:00
2014-09-07 16:07:25 -07:00
2014-10-12 10:13:55 -04:00
2014-10-29 14:28:01 -04:00
2014-10-18 09:31:37 -07:00
2014-10-08 12:51:44 -04:00
2014-10-21 15:28:15 -04:00
2014-10-07 17:03:14 -04:00
2014-05-05 13:13:50 -04:00
2014-10-07 20:28:44 -04:00
2014-10-27 13:38:15 -04:00
2014-04-11 16:15:36 -04:00
2014-10-20 12:38:13 -04:00
2014-07-29 12:20:22 -07:00
2014-10-27 19:09:59 -04:00
2014-07-12 01:53:30 +02:00
2014-10-11 13:21:34 -04:00