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: eacb9384a3 ("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
..
2018-09-08 01:39:47 +09:00
2018-10-14 10:25:47 +02:00
2018-09-26 09:56:07 -07:00
2019-02-04 17:29:17 +01:00
2018-12-20 18:20:26 -08:00
2018-09-18 19:55:01 -07:00
2019-02-21 16:23:56 -08:00
2018-12-09 21:43:31 -08:00
2018-07-20 21:17:12 -07:00
2018-12-10 15:54:34 -08:00
2018-11-02 23:54:56 -07:00
2018-07-13 12:18:18 -04:00
2019-01-15 21:33:36 -08:00
2018-10-31 12:37:12 -07:00
2018-08-07 12:39:13 -07:00
2019-01-23 11:18:00 -08:00
2018-08-04 13:23:15 -07:00
2018-09-26 20:22:19 -07:00
2018-07-30 09:10:25 -07:00
2018-12-18 13:15:04 +01:00
2019-01-03 18:57:57 -08:00
2018-07-27 13:17:50 -07:00
2018-12-03 13:55:43 -08:00
2018-12-16 14:23:33 -08:00
2018-10-17 21:51:13 -07:00
2018-05-20 18:31:42 -04:00
2018-05-28 22:59:54 -04:00
2018-11-30 13:21:52 -08:00
2018-11-30 17:12:39 -08:00
2018-11-17 21:37:29 -08:00
2018-08-29 19:42:52 -07:00
2018-11-07 23:00:23 -08:00
2018-12-10 15:53:04 -08:00
2019-02-25 14:32:35 -08:00
2018-09-05 10:08:25 +02:00
2018-11-02 23:54:56 -07:00
2018-11-07 16:12:38 -08:00
2018-12-15 13:23:02 -08:00
2018-08-14 10:04:36 -07:00
2018-10-17 17:45:07 -07:00
2018-08-11 17:54:18 -07:00
2018-12-24 15:27:56 -08:00
2018-11-07 16:12:38 -08:00
2018-06-05 10:45:24 -04:00
2019-02-08 21:50:15 -08:00
2018-10-19 11:03:06 -07:00
2018-10-16 00:13:12 -07:00
2018-11-08 17:13:08 -08:00
2019-01-15 13:33:44 -08:00
2019-01-01 12:05:02 -08:00
2018-07-18 11:26:40 +02:00
2019-03-01 16:41:27 -08:00
2018-07-18 11:26:53 +02:00
2018-11-07 16:23:05 -08:00
2019-01-30 22:13:34 -08:00
2018-07-11 23:10:19 -07:00
2018-09-13 09:04:58 -07:00
2018-12-18 14:18:49 +01:00
2018-12-19 13:37:34 -08:00
2018-05-28 22:59:54 -04:00
2018-09-14 12:04:33 -07:00
2018-08-01 09:52:30 -07:00
2018-10-12 11:00:22 -07:00
2018-05-24 18:36:15 -07:00
2018-12-14 15:32:19 -08:00
2018-09-25 20:17:35 -07:00
2018-11-08 17:13:08 -08:00
2018-11-07 16:12:39 -08:00
2018-08-28 11:11:47 +02:00
2018-09-26 20:30:55 -07:00
2018-11-06 15:00:45 -08:00
2018-11-11 09:54:52 -08:00
2018-07-21 10:43:12 -05:00
2018-06-22 13:43:27 +09:00
2018-07-31 09:22:48 +02:00
2018-12-20 16:56:04 -08:00
2018-06-30 20:42:25 +09:00
2018-08-11 01:58:46 +02:00
2019-02-13 21:05:18 -08:00
2018-06-06 14:07:53 -04:00
2018-12-12 16:34:22 -08:00
2018-12-04 21:21:18 -08:00
2019-01-28 23:05:55 -08:00
2018-07-07 10:58:49 +09:00
2018-12-03 14:15:26 -08:00
2018-11-08 17:13:08 -08:00
2018-12-07 12:59:08 -08:00
2018-10-05 09:31:01 +02:00
2018-08-29 12:25:53 -07:00
2019-02-05 06:29:20 +01:00