David Howells 9ed900b116 afs: Push the net ns pointer to more places
Push the network namespace pointer to more places in AFS, including the
afs_server structure (which doesn't hold a ref on the netns).

In particular, afs_put_cell() now takes requires a net ns parameter so that
it can safely alter the netns after decrementing the cell usage count - the
cell will be deallocated by a background thread after being cached for a
period, which means that it's not safe to access it after reducing its
usage count.

Signed-off-by: David Howells <dhowells@redhat.com>
2017-11-13 15:38:17 +00:00
..
2017-08-24 13:23:03 -07:00
2017-09-04 19:05:15 -04:00
2017-04-17 12:52:27 -04:00
2017-10-18 14:51:50 -04:00
2017-06-22 11:44:55 -04:00