Duan Jiong
c0c0c50ff7
net: gre: use icmp_hdr() to get inner ip header
...
When dealing with icmp messages, the skb->data points the
ip header that triggered the sending of the icmp message.
In gre_cisco_err(), the parse_gre_header() is called, and the
iptunnel_pull_header() is called to pull the skb at the end of
the parse_gre_header(), so the skb->data doesn't point the
inner ip header.
Unfortunately, the ipgre_err still needs those ip addresses in
inner ip header to look up tunnel by ip_tunnel_lookup().
So just use icmp_hdr() to get inner ip header instead of skb->data.
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-27 20:38:26 -08:00
..
2014-01-09 23:25:48 +01:00
2014-01-13 11:22:55 -08:00
2013-06-03 00:07:42 -07:00
2014-01-02 00:08:38 -05:00
2013-12-26 13:43:21 -05:00
2013-12-06 07:24:39 +01:00
2014-01-22 21:57:05 -08:00
2013-10-29 06:39:42 +01:00
2014-01-24 15:51:26 -08:00
2013-12-28 17:01:46 -05:00
2013-12-10 17:54:23 -05:00
2013-12-28 17:01:46 -05:00
2013-11-15 09:32:20 +09:00
2014-01-06 20:28:34 -05:00
2014-01-16 16:08:27 -08:00
2014-01-13 11:22:55 -08:00
2014-01-14 15:15:25 -08:00
2014-01-14 15:15:25 -08:00
2014-01-13 22:35:46 -08:00
2013-10-23 17:01:41 -04:00
2013-10-19 19:45:35 -04:00
2013-12-29 16:34:25 -05:00
2013-10-08 23:19:24 -04:00
2013-12-28 17:03:20 -05:00
2014-01-13 11:22:54 -08:00
2013-12-17 16:36:21 -05:00
2014-01-27 20:38:26 -08:00
2014-01-27 16:22:11 -08:00
2014-01-02 03:30:36 -05:00
2014-01-14 15:03:33 -08:00
2014-01-19 19:53:18 -08:00
2013-12-17 16:36:21 -05:00
2014-01-27 12:57:31 -08:00
2014-01-18 23:08:02 -08:00
2013-06-03 00:07:42 -07:00
2013-04-02 14:35:33 -04:00
2014-01-18 23:08:02 -08:00
2014-01-18 00:55:41 -08:00
2013-09-03 21:41:43 -04:00
2014-01-06 20:28:34 -05:00
2013-04-18 20:27:55 +02:00
2014-01-21 16:59:19 -08:00
2014-01-02 03:30:36 -05:00
2013-11-28 18:47:51 -05:00
2014-01-18 23:04:16 -08:00
2014-01-13 11:22:54 -08:00
2013-12-26 13:43:21 -05:00
2014-01-13 11:22:54 -08:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2012-01-11 12:56:06 -08:00
2013-11-04 19:57:47 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2014-01-23 16:36:55 -08:00
2013-12-29 16:34:24 -05:00
2014-01-21 16:52:31 -08:00
2013-11-04 19:57:59 -05:00
2013-12-05 21:01:01 -05:00
2014-01-23 12:48:28 -08:00
2014-01-17 17:56:33 -08:00
2014-01-14 18:53:48 -08:00
2013-12-29 16:34:24 -05:00
2013-12-26 13:43:21 -05:00
2013-11-04 19:57:59 -05:00
2013-10-29 22:50:41 -04:00
2013-11-04 19:57:59 -05:00
2013-10-19 19:12:11 -04:00
2013-11-04 19:57:59 -05:00
2013-03-21 11:47:50 -04:00
2013-12-26 13:43:55 -05:00
2014-01-25 11:17:34 -08:00
2012-03-11 23:42:51 -07:00
2013-04-19 14:57:56 -04:00
2013-10-19 19:12:11 -04:00
2014-01-23 12:59:08 -08:00
2014-01-18 23:04:16 -08:00
2012-03-12 17:05:21 -07:00
2013-02-15 15:10:37 -05:00
2013-12-26 13:43:21 -05:00
2007-10-10 16:55:54 -07:00
2013-09-30 15:24:57 -04:00
2013-08-26 12:40:53 +02:00
2013-11-01 07:08:46 +01:00
2013-12-18 16:58:20 -05:00
2013-05-31 17:19:05 -07:00