stephen hemminger
3b87956ea6
net sched: fix race in mirred device removal
...
This fixes hang when target device of mirred packet classifier
action is removed.
If a mirror or redirection action is configured to cause packets
to go to another device, the classifier holds a ref count, but was assuming
the adminstrator cleaned up all redirections before removing. The fix
is to add a notifier and cleanup during unregister.
The new list is implicitly protected by RTNL mutex because
it is held during filter add/delete as well as notifier.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-07-24 21:04:20 -07:00
..
2010-05-21 16:44:34 -05:00
2010-05-10 09:34:03 +02:00
2010-05-23 23:57:41 -07:00
2010-02-15 15:38:10 +01:00
2010-03-30 22:02:32 +09:00
2010-05-20 15:55:30 +02:00
2010-05-11 14:40:55 +02:00
2010-01-07 00:24:55 -08:00
2010-05-26 00:40:11 -07:00
2010-07-24 21:04:20 -07:00
2010-05-12 23:02:23 -07:00
2009-08-17 21:33:49 -07:00
2010-02-25 09:41:03 +01:00
2009-08-12 21:54:50 -07:00
2010-05-01 15:00:15 -07:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:57 -07:00
2010-03-30 22:02:32 +09:00
2009-03-24 23:32:03 -07:00
2010-05-07 14:55:50 -04:00
2009-03-28 15:01:36 +11:00
2010-05-25 18:53:57 -07:00
2009-12-11 15:07:56 -08:00
2009-09-01 01:24:30 -07:00
2009-12-08 07:55:01 -08:00
2010-03-27 19:23:46 -07:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:31 -07:00
2010-06-04 15:56:00 -07:00
2009-03-27 00:16:21 -07:00
2010-04-26 16:02:04 +02:00
2010-04-07 03:43:18 -07:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2010-04-13 14:49:31 -07:00
2010-02-08 16:50:53 -05:00
2009-11-06 14:32:18 +03:00
2009-07-23 17:08:51 +04:00
2010-05-18 15:36:06 -07:00
2010-04-15 23:36:37 -07:00
2009-12-08 20:17:51 -08:00
2010-04-15 23:36:37 -07:00
2009-12-08 20:17:51 -08:00
2010-04-27 15:11:48 -07:00
2010-04-27 12:39:01 -07:00
2009-11-13 20:46:58 -08:00
2010-04-01 18:41:41 -07:00
2010-04-13 01:41:33 -07:00
2010-03-10 07:32:29 -08:00
2009-11-06 00:55:55 -08:00
2010-02-18 12:31:05 +01:00
2010-05-25 08:07:02 -07:00
2010-02-16 23:05:38 -08:00
2009-11-04 05:06:25 -08:00
2010-05-25 08:07:02 -07:00
2010-03-30 22:02:32 +09:00
2010-03-31 14:49:12 -04:00
2009-12-26 20:43:57 -08:00
2009-12-26 20:46:28 -08:00
2010-05-24 15:07:42 -04:00
2010-04-23 13:35:55 +09:00
2009-09-24 07:21:04 -07:00
2010-04-15 12:26:39 +02:00
2010-03-12 15:52:40 -08:00
2010-03-30 22:02:32 +09:00
2010-03-19 22:47:23 -07:00
2010-03-30 22:02:32 +09:00
2009-08-19 23:08:22 +04:00
2009-11-20 15:35:04 -08:00
2010-04-01 18:38:48 -07:00
2009-11-05 21:40:17 -08:00
2010-04-13 14:49:34 -07:00
2009-06-23 04:31:07 -07:00
2009-11-04 05:06:25 -08:00
2010-02-01 15:40:06 -05:00
2010-01-17 19:09:39 -08:00
2009-07-26 19:11:14 -07:00
2010-05-17 17:18:51 -07:00
2010-02-27 02:43:40 -08:00
2010-07-02 21:59:07 -07:00
2009-11-04 05:06:25 -08:00
2010-06-23 11:48:19 -07:00
2010-07-14 20:50:29 -07:00
2010-05-16 22:26:58 -07:00
2010-04-23 23:35:28 -07:00
2009-11-10 20:54:38 -08:00
2009-10-07 16:39:43 -04:00
2009-12-09 19:43:33 -08:00
2009-11-06 14:32:24 +03:00
2010-05-17 17:39:27 -07:00
2010-04-22 16:12:36 -07:00
2010-06-30 10:43:31 -07:00