Hangbin Liu
5e1a99eae8
ipv4: Add ICMPv6 support when parse route ipproto
...
For ip rules, we need to use 'ipproto ipv6-icmp' to match ICMPv6 headers.
But for ip -6 route, currently we only support tcp, udp and icmp.
Add ICMPv6 support so we can match ipv6-icmp rules for route lookup.
v2: As David Ahern and Sabrina Dubroca suggested, Add an argument to
rtm_getroute_parse_ip_proto() to handle ICMP/ICMPv6 with different family.
Reported-by: Jianlin Shi <jishi@redhat.com>
Fixes: eacb9384a3fe ("ipv6: support sport, dport and ip_proto in RTM_GETROUTE")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-01 16:41:27 -08:00
..
2019-01-11 18:05:41 -08:00
2019-02-11 17:43:17 +01:00
2018-12-15 13:23:02 -08:00
2018-09-26 20:30:55 -07:00
2018-10-12 09:47:39 -07:00
2019-02-27 21:45:24 -08:00
2018-10-02 22:28:17 -07:00
2019-01-04 12:47:06 -08:00
2018-12-19 11:21:37 -08:00
2019-01-28 11:20:58 +01:00
2019-02-26 13:23:17 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-30 12:57:04 -08:00
2018-11-06 15:00:45 -08:00
2019-01-15 13:33:44 -08:00
2019-01-15 22:01:31 -08:00
2019-01-22 11:52:17 -08:00
2018-07-03 10:29:26 +09:00
2019-02-25 14:32:35 -08:00
2018-10-29 20:26:06 -07:00
2018-11-07 22:31:07 -08:00
2019-02-12 13:35:57 -05:00
2018-11-08 18:40:30 -08:00
2018-12-24 15:27:56 -08:00
2018-04-07 22:32:32 -04:00
2019-02-08 21:50:15 -08:00
2018-12-20 11:53:36 -08:00
2018-12-15 11:50:40 -08:00
2019-02-21 16:02:10 -08:00
2019-02-27 21:44:20 -08:00
2019-02-25 14:32:35 -08:00
2018-12-19 11:21:37 -08:00
2019-01-10 09:27:20 -05:00
2018-12-24 16:19:56 -08:00
2019-01-24 17:54:12 -08:00
2019-01-09 14:00:37 +01:00
2018-09-26 20:30:55 -07:00
2018-12-20 11:53:36 -08:00
2018-11-08 17:13:08 -08:00
2018-10-19 11:03:06 -07:00
2018-12-20 11:53:36 -08:00
2018-07-24 14:10:43 -07:00
2018-10-15 12:23:19 -07:00
2018-11-06 15:00:45 -08:00
2018-07-16 17:51:48 +02:00
2019-03-01 16:41:27 -08:00
2018-10-02 22:28:17 -07:00
2018-11-30 13:26:54 -08:00
2018-11-08 17:13:08 -08:00
2017-08-07 11:39:22 -07:00
2018-12-20 11:53:36 -08:00
2019-03-01 16:41:27 -08:00
2018-09-21 19:37:59 -07:00
2018-11-07 16:12:38 -08:00
2018-11-08 20:46:17 -08:00
2017-08-06 21:25:10 -07:00
2018-12-20 23:47:09 +01:00
2018-10-15 22:56:42 -07:00
2017-11-15 14:09:52 +09:00
2017-08-06 21:25:10 -07:00
2018-10-10 22:26:00 -07:00
2018-10-10 22:26:00 -07:00
2017-12-20 14:00:25 -05:00
2017-12-13 15:51:12 -05:00
2017-08-06 21:25:10 -07:00
2017-08-06 21:25:10 -07:00
2016-11-21 13:20:17 -05:00
2018-02-28 12:03:47 -05:00
2018-11-30 13:26:53 -08:00
2019-02-17 15:46:58 -08:00
2017-05-17 16:06:01 -04:00
2018-12-28 12:11:47 -08:00
2018-08-31 23:10:35 -07:00
2018-01-31 10:26:30 -05:00
2018-12-15 13:23:02 -08:00
2019-02-23 18:43:25 -08:00
2018-09-21 19:37:59 -07:00
2018-09-21 19:37:59 -07:00
2017-08-06 21:25:10 -07:00
2019-01-10 16:55:41 -05:00
2018-10-16 12:38:41 -07:00
2017-09-29 06:07:00 +01:00
2017-11-02 11:10:55 +01:00
2017-08-06 21:25:10 -07:00
2017-08-30 11:20:08 -07:00
2017-08-06 21:25:10 -07:00
2019-02-17 15:46:58 -08:00
2018-11-08 17:13:08 -08:00
2018-10-28 19:27:21 -07:00
2019-01-17 15:01:08 -08:00
2018-12-15 13:23:02 -08:00
2018-12-03 14:15:26 -08:00
2019-02-22 16:05:11 -08:00
2019-01-17 15:01:08 -08:00
2018-09-04 10:26:30 +02:00
2017-06-16 11:48:39 -04:00
2018-09-04 10:26:30 +02:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-03-27 13:18:09 -04:00
2018-11-08 17:13:08 -08:00
2017-11-02 11:10:55 +01:00