Wei Wang
1dbe32525e
net: use loopback dev when generating blackhole route
...
Existing ipv4/6_blackhole_route() code generates a blackhole route
with dst->dev pointing to the passed in dst->dev.
It is not necessary to hold reference to the passed in dst->dev
because the packets going through this route are dropped anyway.
A loopback interface is good enough so that we don't need to worry about
releasing this dst->dev when this dev is going down.
Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-17 22:53:59 -04:00
..
2017-06-16 11:48:39 -04:00
2017-06-04 22:56:55 -04:00
2017-06-04 23:01:47 -04:00
2017-06-16 11:48:39 -04:00
2017-02-04 19:44:22 -05:00
2017-06-09 12:26:07 -04:00
2017-04-19 07:48:57 +02:00
2017-06-16 11:48:40 -04:00
2017-05-30 11:55:31 -04:00
2017-05-30 11:55:32 -04:00
2017-03-10 09:45:09 -08:00
2017-03-16 10:18:34 -07:00
2017-05-30 11:55:32 -04:00
2017-05-30 11:55:32 -04:00
2017-05-21 13:42:36 -04:00
2016-10-20 14:32:22 -04:00
2017-06-15 11:59:32 -04:00
2017-06-16 11:48:39 -04:00
2017-06-04 19:58:35 -04:00
2017-01-13 22:37:16 -05:00
2017-05-08 17:15:13 -07:00
2016-12-29 11:38:31 -05:00
2016-11-03 16:10:26 -04:00
2017-03-22 15:40:45 -07:00
2017-06-16 11:48:40 -04:00
2017-03-24 13:17:07 -07:00
2016-12-24 11:46:01 -08:00
2017-03-09 18:28:42 -08:00
2017-04-30 22:44:04 -04:00
2017-05-30 11:55:32 -04:00
2017-06-07 15:53:24 -04:00
2017-05-08 15:10:31 -04:00
2017-06-16 11:48:35 -04:00
2017-04-21 13:21:31 -04:00
2017-06-16 11:48:39 -04:00
2017-02-16 21:25:49 -05:00
2017-06-15 12:12:40 -04:00
2017-02-28 12:49:36 +01:00
2017-03-24 20:50:28 -07:00
2017-06-08 11:26:19 -04:00
2017-03-24 13:17:07 -07:00
2016-11-03 15:25:26 -04:00
2017-05-04 11:02:46 -04:00
2017-06-17 22:53:59 -04:00
2017-06-08 10:53:29 -04:00
2017-06-15 12:12:40 -04:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2017-03-02 08:42:27 +01:00
2017-06-02 14:18:13 -04:00
2017-05-17 16:06:01 -04:00
2016-12-06 11:34:24 -05:00
2017-04-24 14:27:17 -04:00
2016-11-21 13:20:17 -05:00
2017-05-17 16:06:01 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-06-08 10:53:29 -04:00
2017-06-15 12:12:40 -04:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2017-06-08 10:53:28 -04:00
2017-05-21 13:42:36 -04:00
2016-09-19 20:59:34 -04:00
2017-06-08 10:53:29 -04:00
2017-02-21 13:26:03 -05:00
2017-06-15 12:12:40 -04:00
2017-05-17 16:06:01 -04:00
2016-11-21 13:20:17 -05:00
2017-05-24 16:29:57 -04:00
2017-06-15 12:12:40 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-05-17 16:06:01 -04:00
2016-11-21 13:20:17 -05:00
2017-06-15 12:12:40 -04:00
2017-05-18 10:23:33 -04:00
2017-04-24 13:48:54 -04:00
2017-06-17 22:53:59 -04:00
2016-11-24 15:32:14 -05:00
2017-02-15 11:04:11 +01:00
2017-06-16 11:48:39 -04:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:06:10 +02:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00
2017-01-10 10:57:12 +01:00