Arnd Bergmann
02df55d28c
macvtap: rework object lifetime rules
...
This reworks the change done by the previous patch
in a more complete way.
The original macvtap code has a number of problems
resulting from the use of RCU for protecting the
access to struct macvtap_queue from open files.
This includes
- need for GFP_ATOMIC allocations for skbs
- potential deadlocks when copy_*_user sleeps
- inability to work with vhost-net
Changing the lifetime of macvtap_queue to always
depend on the open file solves all these. The
RCU reference simply moves one step down to
the reference on the macvlan_dev, which we
only need for nonblocking operations.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-18 14:08:37 -08:00
..
2010-02-12 12:10:47 -08:00
2010-02-16 15:16:45 -08:00
2010-02-12 13:27:44 -08:00
2010-02-17 13:35:40 -08:00
2010-02-03 20:32:27 -08:00
2010-02-04 09:21:28 -08:00
2010-02-17 15:59:48 -08:00
2010-02-17 13:27:12 -08:00
2010-02-17 15:59:48 -08:00
2010-02-03 19:39:57 -08:00
2010-02-05 08:58:40 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 13:21:39 -08:00
2010-02-12 11:38:58 -08:00
2010-02-02 07:47:56 -08:00
2010-02-16 15:45:42 -08:00
2010-02-16 22:09:29 -08:00
2010-02-12 11:38:58 -08:00
2010-01-23 00:31:06 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 17:27:40 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 13:35:38 -08:00
2010-02-14 22:30:54 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 13:35:41 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-01-28 06:12:38 -08:00
2010-02-17 13:35:40 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 17:45:18 -08:00
2010-02-17 17:45:18 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-08 22:44:18 -08:00
2010-02-17 17:45:19 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 17:45:19 -08:00
2010-02-16 15:19:03 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 17:45:20 -08:00
2010-02-17 17:45:20 -08:00
2010-02-17 17:45:20 -08:00
2010-02-17 17:45:20 -08:00
2010-02-17 17:45:21 -08:00
2010-02-17 13:27:12 -08:00
2010-02-17 13:27:12 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 13:27:12 -08:00
2010-02-17 13:27:12 -08:00
2010-02-17 13:27:12 -08:00
2010-02-17 13:27:12 -08:00
2010-02-17 13:27:12 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 15:59:40 -08:00
2010-02-17 15:59:40 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 15:59:38 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 13:27:46 -08:00
2010-02-12 13:27:46 -08:00
2010-02-17 15:59:40 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 12:15:21 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 13:35:36 -08:00
2010-02-16 23:05:38 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-03 20:20:33 -08:00
2010-02-18 14:08:37 -08:00
2010-02-17 15:59:40 -08:00
2010-01-28 06:01:35 -08:00
2010-02-17 15:59:46 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-15 00:07:00 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 17:45:21 -08:00
2010-02-16 15:45:45 -08:00
2010-02-12 11:38:58 -08:00
2010-02-01 15:40:09 -05:00
2010-02-12 11:38:58 -08:00
2010-02-12 13:27:45 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 13:38:10 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 17:45:29 -08:00
2010-02-17 17:45:29 -08:00
2010-02-12 16:21:01 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 15:59:47 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 18:48:11 -08:00
2010-02-16 15:45:43 -08:00
2010-02-17 17:27:40 -08:00
2010-02-17 17:27:40 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 16:35:17 -08:00
2010-02-12 11:38:58 -08:00
2010-02-12 11:38:58 -08:00
2010-02-16 23:05:38 -08:00
2010-02-12 11:38:58 -08:00
2010-02-17 15:59:39 -08:00
2010-02-12 12:27:56 -08:00
2010-02-15 21:51:00 -08:00
2010-02-17 18:41:42 -08:00